. Cascading Style Sheet rules are comprised of: a. Selectors and Declarations b. Properties and Declarations c. Selectors and Attributes d. None of the above
MULTIPLE CHOICE QUESTIONS
1. Cascading Style Sheet rules are comprised of:
a. Selectors and Declarations
b. Properties and Declarations
c. Selectors and Attributes
d. None of the above
2. When CSS is coded in the body of the web page as an attribute of an HTML tag it is called
________.
a. Embedded
b. Inline
c. External
d Imported
3. Select the items below that can be used as a CSS Selector.
a. an HTML element
b. a class name
c.an id name
d. All of the above
4. The declaration property used to set the text color on a web page is:
a. bgcolor
b. text-color
c. color
d. None of the above
5. To apply a style to a certain group of elements on a web page, configure a CSS
_____________.
a. group
b. id
c. class
d. None of the above
6. Use the __________ property to configure bold text using CSS
a. bold
b. font-style
c. font-weight
d. you cannot configure bold text with CSS
7. An external style sheet uses the _____ file extension.
a. ess
b. css
c. htm
d. No file extension is necessary
8. Use the ______ tag to associate a web page with an external style sheet.
a. <target>
b. <a>
c. <include>
d. <link>
9. Select the code below that uses CSS to configure a background color of #eaeaea for a web
page.
a. body {background-color:#eaeaea; }
b. document {background-page:#eaeaea; }
c. body {bgcolor:#eaeaea; }
d. None of the above
10. Select the code below that uses CSS to configure a class called “offer” with blue text that
uses the Arial or sans-serif font typeface .
a. #offer { color:blue; font-family:Arial,sans-serif;}
b. .offer { color:blue; font-family:Arial,sans-serif;}
c. .offer { text:blue; font-family:Arial,sans-serif;}
d. #offer { color:blue; font-family:Arial,sans-serif;}
Trending now
This is a popular solution!
Step by step
Solved in 3 steps