Web Tech Ch 4

25 August 2022
4.7 (114 reviews)
19 test answers

Unlock all answers in this set

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