Web Tech Chapter 9

9 September 2022
4.7 (114 reviews)
21 test answers

Unlock all answers in this set

Unlock answers (17)
question
Use the ______ attribute on a td element to associate it with a table heading cell. Question options: th headers heading title
answer
headers
question
The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell. Question options: True False
answer
true
question
To eliminate the space between table cells, use the ___________ property. Question options: border: none; border-style: 0; border-spacing: 0; cellspacing: 0;
answer
border-spacing: 0;
question
Use the ______ attribute to configure the browser to render default table and table cell borders. Question options: table border width border border-spacing
answer
border
question
The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders. Question options: True False
answer
True
question
The purpose of the _______ element is to describe the contents of a table. Question options: summary caption title border
answer
caption
question
Use the _____ element to contain a table row. Question options: td tr table row
answer
tr
question
Use the ______ element to contain an HTML table. Question options: th td tr table
answer
table
question
Use the CSS ______ property to configure the cellpadding of a table. Question options: padding margin cell padding border-spacing
answer
padding
question
Use the ________ element to configure a table footer row group. Question options: thead tgroup tbody tfoot
answer
tfoot
question
Is the following HTML code valid?
cell 1 cell 2
Question options: Yes. No, you cannot code two td elements within the same row No, you cannot code a table with only one row No, there is a missing closing td tag
answer
No, there is a missing closing td tag
question
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table? Question options: :last-of-type :nth-of-type(n) :every-other-type This cannot be done with CSS.
answer
:nth-of-type(n)
question
An HTML table is comprised of ____ and ______. Question options: lines and text headers and body rows and columns none of the above
answer
row and columns
question
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table? Question options: :last-of-type :last-row : tfoot This cannot be done with CSS.
answer
not last row
question
Use the headers attribute on the ___ element to correspond to the id attribute on a ___ element. Question options: tbody, table td, th td, tr td, table
answer
td,th
question
Use the th element to indicate a table column or row _____. Question options: data heading summary caption
answer
heading
question
Use the ________ element to configure a table head row group. Question options: thead tgroup tbody tfoot
answer
thead
question
Choose the recommended use of tables on web pages. Question options: Use tables to format the layout of an entire page Use tables to organize tabular information Use tables to format hyperlinks Use tables instead of unordered lists
answer
Use tables to organize tabular information
question
Use the ____ element to configure a table heading cell. Question options: td th head tr
answer
th
question
Which of the following CSS3 properties configure the alignment of text within a table? Question options: align caption text-align border-spacing
answer
text-align
question
Use the ______ element to contain a table data cell. Question options: th td tr table
answer
td