HTML test5 Flashcards

1
Q

To add a border, use the CSS _____property on table, __, and __elements:

A

border
th, and td elements:

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

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

To avoid having double borders like in the example above, set the CSS _________ property to collapse.

A

border-collapse

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

With the _________ property, the borders get rounded corners:

A

border-radius

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

With the __________ property, you can set the color of the border.

A

border-color

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

Use the style attribute with the ______ or _____ properties to specify the size of a table, row or column.

A

width or height

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

To make a cell span over multiple columns, use the ________attribute:

A

colspan

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

To style every other table row element, use the _________ selector like this:

A

:nth-child(even)

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

The _______ element is used to style specific columns of a table.

A

<colgroup>
</colgroup>

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