Test2-4, 6, 7, 8 Flashcards
(44 cards)
Select the item below that lists elements used in an HTML table:
a) table, tr, tt
b) table, head, tfoot
c) table, tr, td
d) thread, body, tr
c) table, tr, td
Use the ______ tag pair to begin and end a table row.
a)
b)
c)
d) none of the above
b)
The _____ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
a) hover
b) click
c) active
d) over
a) hover
Which of the following CSS3 properties configure the alignment of text within a table?
a) caption
b) text-align
c) border-spacing
d) align
b) text-align
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
a) :last-row
b) this cannot be done with CSS
c) :tfoot
d) :last-of-type
d) :last-of-type
The default value for the border property for an element is:
a) 3px
b) 0px
c) 10px
d) 1 px
b) 0px
_____ will cause an object not to display.
a) display: hide;
b) display: block;
c) display: 0px;
d) display: none;
d) display: none;
WHich of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
a) :every-other-type
b) this cannot be done with css
c) :last-of-type
d) :nth-of-type(n)
d) :nth-of-type
Set list-style-type to the value ______ to hide the display of the list markers on an ordered list.
a) nodisplay
b) hide
c) invisible
d) none
d) none
The ____ HTML5 element is used to configure the top logo area on a web page.
a) navigation
b) head
c) header
d) nav
c) header
Use the ____ attribute on a element to associate it with a table heading cell.
a) heading
b) title
c) headers
d) th
c) headers
Use the _____ tag pair to configure table headings.
a)
b)
c)
d) none of these
b)
Which pseudo-element can be used to generate content that precedes an element?
a) :content
b) :before
c) :after
d) :first-line
b) :before
Use the \_\_\_\_\_ tag pair to configure a table footer row group. a) b) c) d)
b)
______ flow displays the elements on the page in the order they appear in the web page source code.
a) browser
b) source code
c) default
d) normal
d) normal
A table with a width set to 600 pixels will look ______ on a monitor with resolution set to 640X480 than on a monitor with resolution set to 1024 x 768.
a) the same
b) more distorted
c) larger
d) smaller
c) larger
Which of the following CSS3 properties position the caption of a table?
a) summary
b) caption
c) caption-side
d) thread
b) caption
Choose the example below of a descendent of a descendent selector that configures the anchor tags with a div assigned to the navigation id.
a) navigation#div a
b) a#navigation div
c) div.navigation a
d) div#navigation a
)
The _______ is the area between the content and the border.
a) border
b) spacing
c) padding
d) none of these
c) padding
To apply a style to one or more elements on a web page, configure a CSS ______
a) group
b) id
c) class
d) none of these
)
Choose the item below that is not an HTML5 element.
a) footer
b) wrapper
c) figcaption
d) article
b) wrapper
An HTML table is comprised of ____ and ______.
a) lines and text
b) headers and body
c) rows and columns
d) none of these
c) rows and columns
Is the following HTML code valid?
a) No, there is no border attribute
b) No, the same value cannot be provided for both cellspacing and cellpadding
c) Yes
d) No, table width cannot be set to a percentage value
c) Yes
Use the ____ property in the HTML link tag to associate a web page with a style sheet for printing
a) media=”screen”
b) media=”paper”
c) out=”printer”
d) media=”print”
d) media=”print”