HTML test5 Flashcards
To add a border, use the CSS _____property on table, __, and __elements:
border
th, and td elements:
table, th, td {
border: 1px solid black;
}
To avoid having double borders like in the example above, set the CSS _________ property to collapse.
border-collapse
With the _________ property, the borders get rounded corners:
border-radius
With the __________ property, you can set the color of the border.
border-color
Use the style attribute with the ______ or _____ properties to specify the size of a table, row or column.
width or height
To make a cell span over multiple columns, use the ________attribute:
colspan
To style every other table row element, use the _________ selector like this:
:nth-child(even)
The _______ element is used to style specific columns of a table.
<colgroup>
</colgroup>