Grokking HTML
0% completed
Creating a Basic HTML Table
The price list in a bakery window is a grid. The names of the products run down one column, the prices run down the next, and each line across the card belongs to one product. A reader finds a price by moving along a line until it meets the right column. HTML builds the same kind of grid with a table: data arranged in rows (the lines across) and columns (the lines down).
Rows first, then cells
HTML builds a table one row at a time. Three elements are enough for a first table:
<table>marks the whole table.<tr>("table row") marks one row.- `<td>
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%