Tables

table

Produces a table, it is used together with the elements table row(tr) table header(th) and table cell(td) to create rows and columns. Other elements used with this tag are table head(thead), table body(tbody) and table footer(tfoot). Block-level element

Syntax

<table attributes> ... </table>

Example

<table>
   <tr>
      <th>Header one</th>
      <th>Another header</th>
   </tr>
   <tr>
      <td>Data cell</td>
      <td>Another data cell</td>
   </tr>
</table>

Related tags

CSS Properties

HTML attributes

Search the Soup!