ITD-110 Unit 3 exam set 6
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table? a. :last-of-type b. :nth-of-type(n) c. :every-other-type d. This cannot be done with CSS
:nth-of-type(n)
Is the following HTML code valid? <table> <tr> <td>cell 1</td> <td>cell 2</tr> </tr> </table> a. Yes b. No, you cannot code two td elements within the same row c. No, you cannot code a table with only one row. d. No, there is a missing closing id tag
No, there is a missing closing id tag
The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders. True False
True
The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell. True False
True
Choose the best answer below to the following question: Is the following CSS code valid? table {border: 2px #000000 solid; border-spacing: 0;} a. Yes b. No there is no border-spacing property c. No there is no border property d. No, 0 is not a valid value for the border-spacing property
Yes
The purpose of the _______________ element is to describe the contents of a table. a. summary b. caption c. title d. border
caption
Which of the following CSS3 properties position the caption of a table? a.caption b. caption-side c. thead d. summary
caption-side
Use the CSS _____________ property to configure the cellpadding of a table. a. margin b. padding c. cellpadding d. border-spacing
padding
An HTML table is comprised of ___________ and ____________. a. lines and text b. headers and body c. rows and columns d none of the above
rows and columns
Use the header attribute on the ______________ element to correspond to the id attribute on a _____________ element. a. tbody, table b. td, th c. td, tr d. td, table
td, th
Which of the following CSS3 properties configure the alignment of text within a table? a. align b. caption c. text-align d. border-spacing
text-align
Use the ______________ element to configure a table footer row group. a. thead b. tgroup c. tbody d. tfoot
tfoot
Use the ____________ element to configure a table head row group. a. thead b. tgroup c. tbody d. tfoot
thead
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table? a. :last-of-type b. :last-row c. :tfoot d. This cannot be done with CSS
:last-of-type