Chp 6 & 8 – Flashcards

Unlock all answers in this set

Unlock answers
question
The ________ HTML5 element is used to configure the main navigation area on a web page
answer
nav
question
Choose the example below that configures a comment in CSS
answer
/* comment */
question
Use an id to configure a style when:
answer
the style will apply to only one element on a page.
question
The ________ HTML5 element is used to configure the top logo area on a web page
answer
header
question
Use the ______ attribute to configure the width of a table border
answer
border
question
Use the ____ tag pair to configure table headings
answer
question
When configuring the background color of an element, the background color is applied to both the content and ______ areas
answer
padding
question
The box model consists of a content area surrounded by:
answer
padding, border, and margin
question
The _______ is the area between the content and the border
answer
padding
question
Will the following HTML code render correctly in browsers?
answer
Yes
question
Select the item below that lists elements that must be included in EVERY HTML table:
answer
table, tr, td
question
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:
answer
.myfloat { float:right; margin:10px; border: 1px solid #000000; }
question
Use the CSS ______ property to configure the cellpadding of a table
answer
padding
question
The _______ pseudo-class configures the styles that will apply when the mouse moves over a hyperlink
answer
hover
question
If an element is configured with ___________ the other content on the page will appear to its left
answer
float:right;
question
___ flow displays the elements on the page in the order they appear in the web page source code
answer
normal
question
Use the headers attribute on the ___ tag to correspond to the id attribute on a
question
Select the example below that could be used to clear a right float
answer
clear: right;
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New
tag
answer
question
Use ___________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser
answer
relative
question
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
answer
:nth-of-type(n)
question
Which of the following CSS properties configure the alignment of text within a table?
answer
text-align
question
Use the _______________ property to configure an image to use as a bullet point in an unordered list
answer
list-style-image
question
The purpose of the _______ element is to describe the contents of a table
answer
CAPTION
question
Use the ________ or _______ property to clear a float
answer
clear or overflow
question
Set list-style-type to the value ___________ to hide the display of the list markers on an ordered list
answer
none
question
To apply a style to one or more elements on a web page, configure a CSS __
answer
class
question
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
answer
margin:30px 0 0 150px;
question
Use the ______ attribute on a
element to associate it with a table heading cell
answer
headers
question
The _____ pseudo-class configures the appearance of the hyperlink once the user has reached the target page
answer
visited
question
Which of the following CSS3 pseudo-elements could be used to apply styles to the first row of a table?
answer
:first-of-type
question
When using the box model, the _____ is always transparent
answer
margin
question
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
answer
:last-of-type
question
Use the _____ tag pair to begin and end a table row
answer