Home » Flashcards » Web Tech Chapter 9

Web Tech Chapter 9

   Send article as PDF   

Use the ______ attribute on a td element to associate it with a table heading cell.

Question options:

th

headers

heading

title

headers

The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.

Question options:
True
False

true

To eliminate the space between table cells, use the ___________ property.

Question options:

border: none;

border-style: 0;

border-spacing: 0;

cellspacing: 0;

border-spacing: 0;

Use the ______ attribute to configure the browser to render default table and table cell borders.
Question options:

table border

width

border

border-spacing

border

The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.

Question options:
True
False

True

The purpose of the _______ element is to describe the contents of a table.
Question options:

summary

caption

title

border

caption

Use the _____ element to contain a table row.
Question options:

td

tr

table

row

tr

Use the ______ element to contain an HTML table.
Question options:

th

td

tr

table

table

Use the CSS ______ property to configure the cellpadding of a table.
Question options:

padding

margin

cell padding

border-spacing

padding

Use the ________ element to configure a table footer row group.
Question options:

thead

tgroup

tbody

tfoot

tfoot

Is the following HTML code valid?
<table>
<tr>
<td>cell 1</td>
<td>cell 2
</tr>
</table>

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

No, there is a missing closing td tag

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.

:nth-of-type(n)

An HTML table is comprised of ____ and ______.
Question options:

lines and text

headers and body

rows and columns

none of the above

row and columns

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.

not last row

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

td,th

Use the th element to indicate a table column or row _____.
Question options:

data

heading

summary

caption

heading

Use the ________ element to configure a table head row group.
Question options:

thead

tgroup

tbody

tfoot

thead

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

Use tables to organize tabular information

Use the ____ element to configure a table heading cell.
Question options:

td

th

head

tr

th

Which of the following CSS3 properties configure the alignment of text within a table?
Question options:

align

caption

text-align

border-spacing

text-align

Use the ______ element to contain a table data cell.
Question options:

th

td

tr

table

td

Scroll to Top