Skip to content

Instantly share code, notes, and snippets.

@geoffreyhale
Created March 27, 2015 22:14
Show Gist options
  • Save geoffreyhale/a9268804deb383fd1f2d to your computer and use it in GitHub Desktop.
Save geoffreyhale/a9268804deb383fd1f2d to your computer and use it in GitHub Desktop.
<!-- Better Table Template for HTML5 http://perishablepress.com/html5-table-template/#html5table -->
<table>
<caption>Here we assign header information to cells
by setting the scope attribute.
</caption>
<colgroup />
<colgroup span="2" title="title" />
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Side</th>
<th scope="col">Role</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Darth Vader</td>
<td>Dark</td>
<td>Sith</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Obi Wan Kenobi</td>
<td>Light</td>
<td>Jedi</td>
</tr>
<tr>
<td>Greedo</td>
<td>South</td>
<td>Scumbag</td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment