HTML table
时间: 2023-07-27 17:08:59 浏览: 77
Sure, here's an example of an HTML table:
```
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>City</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>25</td>
<td>New York</td>
</tr>
<tr>
<td>Jane</td>
<td>30</td>
<td>London</td>
</tr>
<tr>
<td>Bob</td>
<td>40</td>
<td>Paris</td>
</tr>
</tbody>
</table>
```
This table has three columns (Name, Age, and City) and three rows of data. The `thead` element contains the table headers and the `tbody` element contains the table data. The `th` and `td` elements are used for table headers and table cells, respectively.
阅读全文