HTML-TABLES Flashcards
1
Q
What are the six primary HTML elements for creating tables?
A
- < table>
- Table row: < tr>
- Table Column: < td>
- Table header: < th>
- < thead>
- < tbody>
(Note: Additional spaces have been added here and there to abide by the website’s display rules. [Cannot display code without premium version])
2
Q
What purpose do the thead and tbody elements serve?
A
The headings of the table should sit inside the < thead> element.
The body should sit inside the < tbody> element.
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 themselves well to being displayed in a table are:
- Sports statistics
- Surveys