HTML - Table Styling

Overview

Estimated time: 10–15 minutes

Separate concerns: structure in HTML, presentation in CSS.

Example (structure)

<table class="styled">
  <tr><th>A</th><th>B</th></tr>
  <tr><td>1</td><td>2</td></tr>
</table>

CSS (see CSS tutorial): striped rows, hover states, condensed spacing, etc.