HTML Tables

HTML Tables

Tables use <table>, <tr> (row), <th> (header), and <td> (data).

Example

<table><tr><th>Name</th></tr><tr><td>John</td></tr></table>

Click on the "Try it Yourself" button to see how it works.

Try it Yourself »