HTML Lists and Tables

Use ul for an unordered list and li for each item. Use a table only for data that has rows and columns: tr is a row, th is a header cell, and td is a data cell. Headers let assistive technology connect each value to its column.

HTML
<ul>
  <li>HTML</li>
  <li>CSS</li>
</ul>
<table>
  <tr><th>Language</th><th>Year</th></tr>
  <tr><td>C</td><td>1972</td></tr>
</table>
Read the full lesson