Use the ________ property to configure an image to use as a bullet point in an unordered list.
Select one:
a. bullet-image
b. image-style
c. list-style-image
d. bullet-style-image
answer
list-style-image
question
Select the example below that could be used to clear a right float.
Select one:
a. clear: right;
b. clear: left;
c. right: clear;
d. overflow: right;
answer
clear: right;
question
The ________ HTML5 element is used to tangential or supplemental content.
Select one:
a. header
b. main
c. aside
d. section
answer
aside
question
Choose the HTML5 element below that is used to configure an area on a web page that can stand on its own and could potentially be syndicated.
Select one:
a. div
b. section
c. article
d. aside
answer
article
question
Select the example below that configures a container to clear all floated elements that are within the container.
Select one:
a. clear: both;
b. overflow: all;
c. overflow: auto;
d. clear: all;
answer
overflow: auto;
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?
Select one:
a. margin: 150px 20px 0 300px;
b. margin:30px 0 0 150px;
c. None of these
d. margin:top-30, left-150, right-0, bottom-0;
answer
margin:30px 0 0 150px;
question
The default value for the border property for an element is:
Select one:
a. 1 pixel
b. 0 pixels
c. 3 pixels
d. 10 pixels
answer
0 pixels
question
If an element is configured with ________ the other content on the page will appear to its left.
Select one:
a. position:left;
b. position:relative;
c. float:left;
d. float:right;
answer
float:right;
question
Choose the example below that configures a comment in CSS.
Select one:
a.
b. // comment //
c. /* comment */
d. << comment >>
answer
/* comment */
question
________ flow displays the elements on the page in the order they appear in the web page source code.
Select one:
a. Default
b. Source code
c. Browser
d. Normal
answer
Normal
question
When configuring the background color of an element, the background color is applied to both the content and ________ areas.
Select one:
a. border
b. padding
c. margin
d. extra
answer
padding
question
The ________ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
Select one:
a. hover
b. click
c. active
d. over
answer
hover
question
Use ________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
Select one:
a. absolute
b. float
c. relative
d. display
answer
relative
question
From the choices below select the correct order to code CSS pseudo-classes.
Select one:
a. link, hover, visited, active
b. hover, link, active, visited
c. link, visited, hover, active
d. link, hover, active, visited
answer
link, visited, hover, active
question
The ________ HTML5 element is used to configure the top logo area on a web page.
Select one:
a. header
b. main
c. nav
d. head
answer
header
question
Use ________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.
Select one:
a. absolute
b. static
c. relative
d. fixed
answer
fixed
question
To apply a style to one or more elements on a web page, configure a CSS ________.
Select one:
a. group
b. class
c. None of these
d. id
answer
class
question
The ________ pseudo-class configures the appearance of the hyperlink before it is clicked.
Select one:
a. hover
b. link
c. hyperlink
d. active
answer
link
question
Choose the item below that is not an HTML5 element.
Select one:
a. footer
b. figcaption
c. wrapper
d. article
answer
wrapper
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:
Select one:
a. .myfloat { float:right; margin:10px; border: 1px solid #000000; }
b. #myfloat { right:float: margin 10px; border: 1px solid #000000; }
c. .myfloat { float:right; 10px:margin; border: 1px solid #000000; }
d. .myfloat { float:right; margin:10px; border: on; }