HTMLHTML · Lesson 4 of 8
Lists & Tables
Use lists when you have items. Use tables for tabular data. Do not use tables for layout — that was the 1990s. We don't talk about the 1990s.
◆ Note
The scope="col" attribute on <th> elements helps screen readers understand which column or row a header relates to. Always use it in tables with both row and column headers.
The scope="col" attribute on <th> elements helps screen readers understand which column or row a header relates to. Always use it in tables with both row and column headers.