Form
The table is defined by the <table> tag.
Each table has several rows (defined by the <tr> tag) and each row is split into several cells (defined by the <td> tag).
The letter TD refers to the table data, which is the contents of the data cell.
Data cells can contain text, pictures, lists, paragraphs, forms, horizontal lines, tables, and so on.
For example, to draw the following table:
Analysis: 1. Analyze rows, each line is a TR label
2. Starting with the first line, look at a few cells per row, several cells are several TD labels
3. If the space is 1 rows 1 columns, omit the number of rows, directly for <td></td>.
The code is as follows
1 <Body>2 <Tablewidth= "The "Height= "The "Border= "2">3 <!--Line 1th -4 <TR>5 <TDcolspan= "4"bgcolor= "Aqua"></TD>6 </TR>7 <!--Line 2nd -8 <TR>9 <TDrowspan= "4"bgcolor= "Antiquewhite"></TD>Ten <TDcolspan= "3"bgcolor= "Antiquewhite"></TD> One </TR> A <!--Line 3rd - - <TR> - <TDrowspan= "3"bgcolor= "Aquamarine"></TD> the <TDcolspan= "2"bgcolor= "Aquamarine"></TD> - </TR> - <!--Line 4th - - <TR> + <TDrowspan= "2"bgcolor= "Bisque"></TD> - <TDbgcolor= "Bisque"></TD> + </TR> A <!--Line 5th - at <TR> - <TD></TD> - </TR> - </Table> - </Body>
2018-07-30
HTML Table-table