ITD-110 Unit 3 exam set 6 – Flashcards
Unlock all answers in this set
Unlock answersquestion
The purpose of the _______________ element is to describe the contents of a table.
a. summary
b. caption
c. title
d. border
answer
caption
question
Use the CSS _____________ property to configure the cellpadding of a table.
a. margin
b. padding
c. cellpadding
d. border-spacing
answer
padding
question
An HTML table is comprised of ___________ and ____________.
a. lines and text
b. headers and body
c. rows and columns
d none of the above
answer
rows and columns
question
Use the ____________ element to configure a table head row group.
a. thead
b. tgroup
c. tbody
d. tfoot
answer
thead
question
Use the ______________ element to configure a table footer row group.
a. thead
b. tgroup
c. tbody
d. tfoot
answer
tfoot
question
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
answer
td, th
question
Is the following HTML code valid?
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
cell 1 | cell 2 |
answer
No, there is a missing closing id tag
question
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
answer
Yes
question
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
answer
:last-of-type
question
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
answer
:nth-of-type(n)
question
Which of the following CSS3 properties position the caption of a table?
a.caption
b. caption-side
c. thead
d. summary
answer
caption-side
question
Which of the following CSS3 properties configure the alignment of text within a table?
a. align
b. caption
c. text-align
d. border-spacing
answer
text-align
question
The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
True
False
answer
True
question
The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
True
False
answer
True