Web Design Chapter 3
Which of the following uses CSS to configure a class called news with red text, large font, and Arial or sans-serif font?
.news { color: red; font-size: large; font-family: Arial, sans-serif; }
CSS was first proposed as a standard by the W3C in..........................
1996
Which of the following associates a web page with an external style sheet?
<link rel="stylesheet"href="style.css">
Which of the following can be a CSS selector?
An HTML element name, a class name, and an id name.
Which of the following configures a background color of #FFF8DC for web page using CSS?
Body { background-color: #FFF8DC; }
Which of the following is true if a web page contains both a link to an external style sheet and embedded styles?
External styles will be applied first, and then the embedded styles will be applied
Which of the following do you configure to apply a style to only one area on a web page?
Id
Were do you place the code to associate a web page with an external style sheet?
In the head section of the web page document.
The................... element is useful for creating areas on a web page that are embedded within paragraphs or other block display elements.
Span
Which of the following is the CSS property used tos set the background color of a web page?
background-Color
Which of the following is the declaration property used to set the font typeface for an area of a web page?
font-family
Which type of CSS is coded in the body of the web page as an attribute of an HTML tag?
inline
Which of the following describe two components of CSS rules?
selectors and declarations
The..................... CSS property can be used to center text within a block display element.
text-align
The.....................CSS property can be used to indent the first line of text.
text-indent