HTML <table> Tag
The HTML <table>
element in the HTML page establishes a table.
This tag is sometimes referred to as the <table>
element. A table in HTML is made up of one <table>
element plus one or more <tr>
, <th>
, and <td>
components.
The <tr>
element is used to establish a table row, the <th>
element is used to define a table header, and the <td>
element is used to define a table cell.
An HTML table may additionally include the following elements:
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<table> | Yes | Yes | Yes | Yes | Yes |