英[?te?bl] 美[?teb?l]

n.Table; table, directory; operating table, workbench, game table; flat floor

vt.Tabulation; shelving; embedded combine; put aside

adj.

of table Third person singular: tables Plural: tables Present participle: tabling Past tense: tabled

html table tag syntax

Function:Define HTML table.

Description: A simple HTML table consists of the table element and one or more tr, th or td elements. The tr element defines table rows, the th element defines table headers, and the td element defines table cells. More complex HTML tables may also include caption, col, colgroup, thead, tfoot, and tbody elements.

Note: In HTML 4.01, the "align" and "bgcolor" attributes of the table element are deprecated. In the XHTML 1.0 Strict DTD, the "align" and "bgcolor" attributes of the table element are not supported.

html table tag example

<html>
<body>

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>0</td>
  </tr>
</table>

</body>
</html>

Run Instance?

Click the "Run Instance" button to view the online instance

<html>
<body>

<table border="1">
  <tr>
    <th>name</th>
    <th>job</th>
  </tr>
  <tr>
    <td>滅絕師太</td>
    <td>PHP中文網(wǎng)高級講師</td>
  </tr>
    <tr>
    <td>歐陽克</td>
    <td>PHP中文網(wǎng)講師</td>
  </tr>
    <tr>
    <td>韋小寶</td>
    <td>PHP中文網(wǎng)初級講師</td>
  </tr>
</table>

</body>
</html>

Run instance?

Click the "Run instance" button to view the online instance