HTML-TABLES Flashcards

1
Q

What are the six primary HTML elements for creating tables?

A
  1. < table>
  2. Table row: < tr>
  3. Table Column: < td>
  4. Table header: < th>
  5. < thead>
  6. < tbody>

(Note: Additional spaces have been added here and there to abide by the website’s display rules. [Cannot display code without premium version])

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly