Quiz 7 - HTML
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)
The purpose of the _______ element is to describe the contents of a table.
<caption>
Select the item below that lists elements used in an HTML table:
<table>, <tr>, <td>
Use the ________ tag pair to configure a table footer row group
<tfoot> .. </tfoot>
Use _______ element to indicate table column headings or table row headings.
<th>
Use the ________ tag pair to configure a table head row group.
<thead> .. </thead>
Use the _____ tag pair to begin and end a table row.
<tr> </tr>
Is the following code valid in HTML5? <table border="1" cellspacing="5" cellpadding="5">
No, the cellspacing and cellpadding attributes are obsolete
Use the ______ attribute on a <td> element to associate it with a table heading cell.
headers
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
Which of the following CSS3 properties configure the alignment of text within a table?
text-align
True or False: The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
true
Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid; border-spacing: 0; }
yes
True or False: The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
True
Use the ______ attribute to configure the width of a table border.
border
To configure the table cells to share a common border and eliminate the default space between table cells configure ___________.
border-spacing: 0;