Web Tech Ch 4
Select the code below that configures a class called "offer" with blue text using CSS.
.offer { color: blue; }
Cascading Style Sheet rules are comprised of:
Selectors and D
Select the items below that can be used as a CSS Selector
all
Which of the following is the CSS property used to set the background color?
background-color
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.
body {background-color:#eaeaea; }
To apply a style to one or more of elements on a web page, configure a CSS _____________.
class
Which of the following is the CSS property used to set the text color?
color
An External Style Sheet uses the _____ file extension
css
Use the ______ element to create a generic area or section on a web page that is physically separated from others.
div
Which of the following is a CSS selector that will configure the paragraph elements within the footer element.
footer p
To apply a style to exactly one element on a web page, configure a CSS _____________.
id
Which type of selector is specified by placing a # symbol in front of the selector name?
id
Where do you place the code to associate a web page with an external style sheet?
in the head section of the web page document
When CSS is coded in the body of the web page as an attribute of an HTML tag it is called ________.
incline
According to the CSS order of precedence, ______ styles override ________ styles.
inline, external
Use the ______ element to associate a web page with an external style sheet.
link
Which of the following is correct CSS syntax?
p { color: #000000; }
Which of the following will configure all the span elements with red (#FF0000) text color?
span { color: #FF0000; }
Use the _____ element to code embedded styles on a web page.
style