HTML Tables Flashcards

1
Q

allow web developers to arrange data into rows and columns.

A

HTML Tables

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

defines HTML table

A

<table>
</table>

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

table header

A

<th>
</th>

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

table row

A

<tr>
</tr>

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

table data/cell

A

<td>
</td>

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

by default, the text in <th> elements are…

A

bold and centered

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

by default, the text in <td> elements are..

A

regular and left-aligned

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

the data containers of the table. They can contain all sorts of HTML elements; text, images, lists, other tables, etc.

A

<td>
</td>

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

add border to a table using CSS

A

table, th, td {
border: 1px solid black;
}

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

let the table borders collapse into one border using css

A

table, th, td {
border: 1px solid black;
border-collapse: collapse;
}

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

specifies the space between the cell content and its borders

A

cell padding

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

specifies the space between the cells

A

border spacing

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

will border-spacing still have an effect even if the table has collapsed borders?

A

no, it will not have an effect

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

make a cell span more than one column

A

colspan attribute

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

make a cell span more than one row

A

use the rowspan

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

To add a caption to a table

A

<caption>
</caption>