Ch9: Table Basics Flashcards

1
Q

Which HTML element indicates a row in a table?

A

tr
The <tr> element configures a table row.

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

Which CSS declaration removes extra space between table and cell borders?

A

border-spacing: 0;
Set the border-spacing property to 0 to remove extra space between table and cell borders.

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

Which HTML element groups rows in the footer of a table?

A

tfoot
The purpose of the tfoot element is to group rows in the footer area of a table.

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

Which of the following configures a table cell with bold, centered text?

A

table header element

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

Which HTML element will configure the heading of a table row or table column?

A

th

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

Which CSS property replaces the use of the HTML cellpadding attribute?

A

padding

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

Which HTML element provides a text description of the contents of a table?

A

caption

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

Which of the following is a structural psuedo-class that applies to the last row in a table?

A

tr:last-of-type

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

Which CSS property specifies the background color of a table?

A

background-color

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

Which HTML attribute associates a table data cell with a table header cell?

A

headers

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