Filters
Question type

Study Flashcards

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

A) True
B) False

Correct Answer

verifed

verified

True

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


A) padding
B) margin
C) cellpadding
D) none of the above

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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 >

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

B

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


A) align
B) caption
C) text-align
D) border-spacing
)

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

Use the ______ attribute to configure the width of a table border.


A) tableborder
B) width
C) border
D) none of the above

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

C

An HTML table is comprised of ____ and ______.


A) lines and text
B) headers and body
C) rows and columns
D) none of the above

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

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.

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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.

E) All of the above
F) A) and D)

Correct Answer

verifed

verified

Which of the following CSS properties positions the caption of a table?


A) caption
B) caption-side
C) thead
D) spacing

E) A) and C)
F) All of the above

Correct Answer

verifed

verified

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


A) th
B) headers
C) heading
D) title

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

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

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

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

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) < summary >
B) < caption >
C) < title >
D) < source >

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

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.

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

The table element's __________ attribute is valid when using HTML5 syntax.


A) border
B) cellspacing
C) cellpadding
D) summary

E) A) and B)
F) A) and D)

Correct Answer

verifed

verified

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.

E) A) and D)
F) B) and D)

Correct Answer

verifed

verified

_Use _______ element to indicate table column headings or table row headings.


A) < tr >
B) < th >
C) < thead >
D) < head >

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

Use the ________ tag pair to configure a table footer row group.


A) < thead > .. < /thead >
B) < tgroup > .. < /tgroup >
C) < tbody > .. < /tbody >
D) < tfoot > .. < /tfoot >

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

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

E) All of the above
F) B) and D)

Correct Answer

verifed

verified

Showing 1 - 20 of 22

Related Exams

Show Answer