html-tables Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
Six primary HTML elements for creating tables are: thead, tbody, tfoot, tr, th, td.
2
Q
What purpose do the thead and tbody elements serve?
A
The purpose of thead and tbody elements are to separate the main headers from the data in a way that makes styling the individual sections easier. It also supports screen readers for the visually impaired.
3
Q
Give two examples of data that would lend itself well to being displayed in a table.
A
Two examples of data that would lend itself well to being displayed in a table are: sports game seasonal scoring sheet and clothing items in stock versus sold on certain days.