Chapter 9
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
:last-of-type
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
:nth-of-type(n)
Is the following HTML code valid? <table> <tr> <td>cell 1</td> <td>cell 2 </tr> </table>
No, there is a missing closing td tag
Use the th element to indicate a table column or row _____.
heading
A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768
larger
Use the CSS ______ property to configure the cellpadding of a table.
padding
An HTML table is comprised of ____ and ______.
rows and columns
Use the ______ element to contain an HTML table
table
Use the ______ element to contain a table data cell.
td
Use the headers attribute on the ___ element to correspond to the id attribute on a ___ element.
td,th
Which of the following CSS3 properties configure the alignment of text within a table?
text-allign
Use the ________ element to configure a table footer row group.
tfoot
Use the ____ element to configure a table heading cell.
th
Use the ______ attribute on a td element to associate it with a table heading cell.
th
Use the ________ element to configure a table head row group.
thead
Use the _____ element to contain a table row.
tr
Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid;border-collapse: collapse;
yes
_____ The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders
TRUEEEE
_____ The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
TRUEEEEEEE
Choose the recommended use of tables on web pages. a. use tables to format the layout of an entire page b. use tables to organize tabular information c. use tables to format hyperlinks d. use tables instead of unordered lists
b. use tables to organize tabular information
Use the ______ attribute to configure the browser to render default table and table cell borders.
border
To eliminate the space between table cells, use the ___________ property.
border-spacing: 0;
The purpose of the _______ element is to describe the contents of a table.
caption
Which of the following CSS3 properties position the caption of a table?
caption