How to make tables in html web page design
This article mainly explains "how to make tables in html web design". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to make tables in html web page design.
The steps are as follows:
1. First, we create a new .html file in the Web front-end development tool (the editor here uses HBuilderX). Enter the following code in the file to see the prototype of one of our tables. The code screenshot is as follows:
Title 1 title 2 title 3 title 4 title 5 title 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6
Through the running of the code, we can see the prototype of a table.
two。 We can get a table by adding a value to the page using the borde element. The code is as follows:
Title 1 title 2 title 3 title 4 title 5 title 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6 Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6
In this way, we have completed the setting of a table.
Thank you for your reading, the above is the content of "how to make tables in html web page design". After the study of this article, I believe you have a deeper understanding of how to make tables in html web page design. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!