html-tables Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
Table, TR-Table row, TD-Table data, TH - Table heading, thead, tbody, tfoot
2
Q
What purpose do the thead and tbody elements serve?
A
thead - heading of table is stored inside this element
tbody - Body of the table is stored inside these element.
Browsers can use these elements to enable scrolling of the table body independently of the header and footer.
3
Q
Give two examples of data that would lend itself well to being displayed in a table
A
Calendar, Timetable, Stock