Ch9: Table Basics Flashcards
Which HTML element indicates a row in a table?
tr
The <tr> element configures a table row.
Which CSS declaration removes extra space between table and cell borders?
border-spacing: 0;
Set the border-spacing property to 0 to remove extra space between table and cell borders.
Which HTML element groups rows in the footer of a table?
tfoot
The purpose of the tfoot element is to group rows in the footer area of a table.
Which of the following configures a table cell with bold, centered text?
table header element
Which HTML element will configure the heading of a table row or table column?
th
Which CSS property replaces the use of the HTML cellpadding attribute?
padding
Which HTML element provides a text description of the contents of a table?
caption
Which of the following is a structural psuedo-class that applies to the last row in a table?
tr:last-of-type
Which CSS property specifies the background color of a table?
background-color
Which HTML attribute associates a table data cell with a table header cell?
headers