HTML Chapter 3 Quiz
Select the code below that uses CSS to configure a class called "offer" with blue text that uses 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;}
b
To associate an external style sheet with a web page, code: a. a link element in the body section of the web page b. a link element in the head section of the web page c. a style element in the body section of the web page d. a style element in the head section of a web page
b
Use the ___ tag to code embedded styles on a web page. a. <link> b. <style>...</style> c. <embed> d. none of the above
b
Use the ___ tag to configure a generic area on a web page that is embedded within a paragraph or other block display element. a. <div>...</div> b. <span>...</span> c. <title>...</title> d. <meta>...</meta>
b
When CSS is coded in the body of a web page as an attribute of an HTML tag, it is called ____ a. Embedded b. Inline c. External d. Imported
b
Which CSS property can be used to configure italic text? a. font-italic b. font-style c. font-weight d. font-type
b
Which CSS property configures the capitalization of text? a. font-type b. text-transform c. text-decoration d. font-weight
b
Which CSS property configures the size of text? a. text-size b. font-size c. size d. font-weight
b
An external style sheet used the ___ file extension a. ess b. css c. htm d. No file extension is necessary
b
CSS was first proposed as a standard by the W3C in ___ a. 1996 b. 2002 c. 1992 d. None of the Above
a
Cascading Style Sheet rules are comprised of: a. Selectors and Declarations b. Properties and Declarations c. Selectors and Attributes d. None of the Above
a
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
a
Use the ____ tag to configure a section of a web page that is physically separated from others. a. <div>...</div> b. <span>...</span> c. <a>...</a> d. <i>...</i>
a
Select the code below that uses CSS to configure an id named "example" that configures small, italic text. a. #example { font-size: small; font-weight: italic;} b. .example { font-size: small; font-style: italic;} c. #example { font-size: small; font-style: italic;}
c
The ___ property configures a shadow effect on the text displayed within an element. a. font-weight b. shadow c. text-shadow d. font-style
c
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 Aboce
c
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
c
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
c
Which CSS property configures the color of text? a. text-color b. font-color c. color d. font-style
c
Which CSS property configures the font typeface? a. font-face b. font-type c. font-family d. font-style
c
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
d
use the ___ tag to associate a web page with an external style sheet. a. <target> b. <a> c. <include> d. <link>
d