Tsallaka zuwa abun ciki
Justice Tech School

Tables

A table has rows (tr). Each row has header cells (th) or data cells (td). Use tables for data, not for page layout.

Example
<table border="1" cellpadding="6">
  <tr><th>Name</th><th>Score</th></tr>
  <tr><td>Ada</td><td>95</td></tr>
  <tr><td>Tunde</td><td>88</td></tr>
</table>

Exercise

Which tag makes a table row?

<table>
  <>
    <td>Hello</td>
  </>
</table>

Quiz Test

Which tag is a header cell?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.