HTML-Tables Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
The six primary HTML elements for creating tables are:
table = table element tag th = table heading element tag tr = table row element tag td = table data element tag thead = table head element tag tbody = table body element tag
2
Q
What purpose do the thead and tbody elements serve?
A
These elements help distinguish between the main content of the table and the first and last rows. They also help people who use screen readers allow you to style these sections in a different manner than the rest of the table.
3
Q
Give two examples of data that would lend itself well to being displayed in a table.
A
tv schedules and financial reports