Why does the font-family CSS specification take a list rather than a single font name?
Front
Not all fonts are available on all computers; the browser will scan the list from left to right and use the first supported font named.
Back
Of the three levels of CSS specifications, which one would you use to apply a common style to an entire Web site with several hundred pages?
Front
External style sheet.
Back
What is the effect of the "float: left" style specification?
Front
The object being floated is on the left and text flows around it on the right.
Back
What are the three levels of style sheet?
Front
External, document-level, and inline.
Back
How does one specify bold text using CSS?
Front
font-weight: bold
Back
What is the purpose of the @font-face style rule?
Front
It provides a mechanism for downloading fonts.
Back
To use the CSS shorthand for the border-width property, in what order must the widths be listed?
Front
top, right, bottom, left
Back
How does one insert a comment into a CSS style sheet?
Front
/ comment /
Back
Why would a Web developer code an @ media print section in a cascading style sheet?
Front
To specify the styles to be used when the page is printed.
Back
A Web developer wants the browser to determine the initial position of an element, but wants to move the element later with JavaScript. Which one of the following types of positioning should the developer choose?
Front
relative
Back
What is the correct way to refer to an external style sheet from an HTML document?
What is the difference between a CSS class and a pseudo class?
Front
Classes apply when an element is selected by name, attribute, or content; pseudo classes classify an element's other properties.
Back
If an element is positioned absolute within another element that has a position property, what is the starting point of positioning for the inner element?
Front
The upper left corner of the containing element.
Back
What are three ways of representing color in CSS?
Front
Keyword color names, decimal RGB values, hexadecimal RGB values
Back
Which of the following style properties is used to specify the background color of an element?
Front
background-color
Back
What is included in an external style sheet?
Front
Style rules and nothing else.
Back
What was the motivation for introducing cascading style sheets (CSS) when HTML already contained elements like <i> for controlling display of information?
Front
To provide for separation of display from structure of documents.
Back
Which of the following style rules will cause text to be rendered in red?
Front
{color: red;}
Back
What CSS style specification would one code to cause a background image to be repeated horizontally but not vertically,?