html tables Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
table, tr (row), th (heading), td (data), thead, tbody, tfoot
2
Q
What purpose do the thead and tbody elements serve?
A
thead is for the head of the table (top row), body is for the content. Makes CSS styling easier.
3
Q
Give two examples of data that would lend itself well to being displayed in a table.
A
Anything that lends itself to a grid format: student grades, tracking job/apartment apps, sports results, stock reports, schedules