51. What is the purpose of scope on table headers?
The scope attribute on a table header helps communicate whether the header applies to a column or row. Values such as col and row can improve the programmatic understanding of table relationships.
Key Takeaways
Use table semantics to communicate relationships.
scope is useful for accessible data tables.
Knowledge Check
What does scope="col" indicate?