HTML Tables Flashcards

1
Q

This table structure element contains all other table elements.

A

<table>...</table>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

This element adds a table caption, which appears above the table by default.

A

<caption>...</caption>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This table element creates a table row.

A

<tr>...</tr>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False? All table data should be nested within a table row.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This table element is used to designate column or row headers.

A

<th>...</th>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This table element is used to contain table cell data.

A

<td>...</td>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This CSS property is used to define the style of a table border.

A

border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This CSS property combines the borders of adjacent cells into a single border instead of separating them.

A

border-collapse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This CSS property determines the amount of space between the borders of adjacent cells within a table.

A

border-spacing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When this CSS property is applied to the <td> or <th> element, it will specify the amount of space between cell data and the cell border.

A

padding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This CSS property is used to define how far the table or cell will extend horizontally across the page.

A

width

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This CSS property determines the horizontal alignment of text within a table or a webpage.

A

text-align

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to tell how many rows are in a table?

A

Count the <tr> elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How to tell how many columns are in a table?

A

Count the <td> elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to tell if a table has column headers?

A

Is the first row made of <th> or <td> elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to tell if a table has row headers?

A

Is the first entry on each row <th> or <td> elements