Deck 8: Tables

Full screen (f)
exit full mode
Question
_Use _______ element to indicate table column headings or table row headings.

A) < tr >
B) < th >
C) < thead >
D) < head >
Use Space or
up arrow
down arrow
to flip the card.
Question
To configure the table cells to share a common border and eliminate the default space between table cells configure ___________.

A) border: none;
B) border-spacing: none;
C) border-spacing: 0;
D) border: collapse;
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
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
)
Question
Use the ________ tag pair to configure a table footer row group.

A) < thead > .. < /thead >
B) < tgroup > .. < /tgroup >
C) < tbody > .. < /tbody >
D) < tfoot > .. < /tfoot >
Question
The purpose of the _______ element is to describe the contents of a table.

A) < summary >
B) < caption >
C) < title >
D) < source >
Question
Use the headers attribute on the ___ tag to correspond to the id attribute on a < th > tag.

A) < thead >
B) < td >
C) < tr >
D) < table >
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, 0is not a valid value for the border-spacing property.
Question
Which of the following CSS properties positions the caption of a table?

A) caption
B) caption-side
C) thead
D) spacing
Question
Use the ________ tag pair to configure a table head row group.

A) < thead > .. < /thead >
B) < tgroup > .. < /tgroup >
C) < tbody > .. < /tbody >
D) < tfoot > .. < /tfoot >
Question
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

A) larger
B) smaller
C) the same
D) more distorted
Question
Use the _____ tag pair to begin and end a table row.

A) < td > < /td >
B) < tr > < /tr >
C) < table > < /table >
D) none of the above
Question
Use the CSS ______ property to configure the cellpadding of a table.

A) padding
B) margin
C) cellpadding
D) none of the above
Question
Select the item below that lists elements used in an HTML table:

A) table, head, tfoot
B) table, tr, tt
C) thead, body, tr
D) table, tr, td
Question
Is the following code valid in HTML5? < table border="1" cellspacing="5" cellpadding="5" >

A) No, the cellspacing and cellpadding attributes are obsolete.
B) No, the same value cannot be provided for both cellspacing and cellpadding.
C) Yes.
D) No, there is no border attribute.
Question
Use the ______ attribute to configure the width of a table border.

A) tableborder
B) width
C) border
D) none of the above
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.
Question
The table element's __________ attribute is valid when using HTML5 syntax.

A) border
B) cellspacing
C) cellpadding
D) summary
Question
Use the ______ attribute on a < td > element to associate it with a table heading cell.

A) th
B) headers
C) heading
D) title
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.
Question
_____ The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
Question
_____ The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 8: Tables
1
_Use _______ element to indicate table column headings or table row headings.

A) < tr >
B) < th >
C) < thead >
D) < head >
B
2
To configure the table cells to share a common border and eliminate the default space between table cells configure ___________.

A) border: none;
B) border-spacing: none;
C) border-spacing: 0;
D) border: collapse;
C
3
An HTML table is comprised of ____ and ______.

A) lines and text
B) headers and body
C) rows and columns
D) none of the above
C
4
Which of the following CSS3 properties configure the alignment of text within a table?

A) align
B) caption
C)text-align
D) border-spacing
)
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
5
Use the ________ tag pair to configure a table footer row group.

A) < thead > .. < /thead >
B) < tgroup > .. < /tgroup >
C) < tbody > .. < /tbody >
D) < tfoot > .. < /tfoot >
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
6
The purpose of the _______ element is to describe the contents of a table.

A) < summary >
B) < caption >
C) < title >
D) < source >
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
7
Use the headers attribute on the ___ tag to correspond to the id attribute on a < th > tag.

A) < thead >
B) < td >
C) < tr >
D) < table >
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
8
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, 0is not a valid value for the border-spacing property.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following CSS properties positions the caption of a table?

A) caption
B) caption-side
C) thead
D) spacing
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
Use the ________ tag pair to configure a table head row group.

A) < thead > .. < /thead >
B) < tgroup > .. < /tgroup >
C) < tbody > .. < /tbody >
D) < tfoot > .. < /tfoot >
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
11
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

A) larger
B) smaller
C) the same
D) more distorted
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
12
Use the _____ tag pair to begin and end a table row.

A) < td > < /td >
B) < tr > < /tr >
C) < table > < /table >
D) none of the above
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
13
Use the CSS ______ property to configure the cellpadding of a table.

A) padding
B) margin
C) cellpadding
D) none of the above
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
14
Select the item below that lists elements used in an HTML table:

A) table, head, tfoot
B) table, tr, tt
C) thead, body, tr
D) table, tr, td
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
15
Is the following code valid in HTML5? < table border="1" cellspacing="5" cellpadding="5" >

A) No, the cellspacing and cellpadding attributes are obsolete.
B) No, the same value cannot be provided for both cellspacing and cellpadding.
C) Yes.
D) No, there is no border attribute.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
16
Use the ______ attribute to configure the width of a table border.

A) tableborder
B) width
C) border
D) none of the above
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
17
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.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
18
The table element's __________ attribute is valid when using HTML5 syntax.

A) border
B) cellspacing
C) cellpadding
D) summary
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
19
Use the ______ attribute on a < td > element to associate it with a table heading cell.

A) th
B) headers
C) heading
D) title
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
20
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.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
21
_____ The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
22
_____ The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 22 flashcards in this deck.