Ch 3 - review questions

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

c

Which type of CSS is coded in the body of the web page as an attribute of an HTML tag? A. embedded B. external C. inline D. imported

a

which of the following configures a background color of #00CED1 A. body {background-color:#00CED1;} B. document {background-color:#00CED1;} C. body {bicolor:#00CED1;} D. document{bgcolor:#00CED1;}

a

which of the following describe two components of CSS rules? A. selectors and declarations B. properties and declarations C. selectors and attributes D. none of the above

c

which of the following is true if a web page contains both a link to an external style sheet and embedded styles? A. embedded styles will be applied first, and then the external styles will be applied. B. the inline styles will be used. C. external styles will be applied first, and then the embedded styles will be applied. D. the web page will not be displayed.

d

where do you place the code to associate a web page with external style sheet? A. in the external style sheet B.in the DOCTYPE of the web page document C. in the body section of the web page document D. in the head section of the web page document

c

which of the following do you configure to apply a style to only one area on a web page? A. group B. class C. id D. none of the above

b

which of the following is the CSS property used to set the background color of a web page A. bgcolor B. background-color c. color D. none of the above

a

CSS was first proposed as a standard by the W3C in ______. A. 1996 B. none of the above C. 1992 D. 2002

b

Cascading Style Sheet rules are comprised of: A. Properties and Declarations B. Selectors and Declarations C. Selectors and Attributes D. None of the above

c

The ___________________ property configures a shadow effect on the text displayed within an element. A. text-shadow B. font-weight C. shadow D. font-style

d

To apply a style to a certain group of elements on a web page, configure a CSS _____________. A. None of the above B. group C. id D. class

a

To apply a style to a certain group of elements on a web page, configure a CSS _____________. A. class B. group C. id D. None of the above

a

Which CSS property can be used to configure italic text? A. font-style B. font-weight C. font-italic D. font-type

c

Which CSS property configures the capitalization of text? A. text-decoration B. font-type C. text-transform D. font-weight

c

Which of the following associates a web page with an external style sheet? A. <style rel="external"href="style".css"> B. <style src="style.css"> C. <link rel="stylesheet"href"style.css"> D. <link rel = "stylesheet"src="style.css">

d

Which of the following can be a CSS selector? A. an HTMl element name B. a class name C.an id name D. all of the above

b

Which of the following sets is the declaration property used to set the font typeface for an area of a web page? A. face B. font- family C. font - face D. size

c

Use the ______ tag to configure a section of a web page that is physically separated from others. A. <span>... </span> B. <i> ... </i> C. <div>...</div> D. <a> ... </a>

b

Use the __________ property to configure bold text using CSS A. bold B. font-weight C. font-style D. you cannot configure bold text with CSS

d

An external style sheet uses the _____ file extension. A. No file extension is necessary B. htm C. ess D. css

text-align

Fill in the blank. The __________ CSS property can be used to center text within a block display element.

1996

Fill in the blank. CSS was first proposed as a standard by the W3C in ____________

text-indent

Fill in the blank. The _____________ CSS property can be used to indent the first line of text.

span

Fill in the blank. The _____________ element is useful for creating areas on a webpage that are embedded within paragraphs or other block display elements.

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. None of the above C. document {background-page:#eaeaea; } D. body {bgcolor:#eaeaea; }

d

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 { text:blue; font-family:Arial,sans-serif;} C. #offer { color:blue; font-family:Arial,sans-serif;} D. .offer { color:blue; font-family:Arial,sans-serif;}

a

The declaration property used to set the text color on a web page is: A. color B. None of the above C. bgcolor D. text-color

d

Use the _____ tag to code embedded styles on a web page. A. none of the above B. <embed> C. <link> D. <style> .. </style>

a

Use the ______ tag to associate a web page with an external style sheet. A. <link> B. <a> C. <target> D. <include>

b

Which of the following uses CSS to configure a class called news with red text, large font, and arial or a sans-serif font? A. news {color:red; font-size:large; font-family:arial, sans-serif;} B. .news {color:red; font-size:large; font-family:arial, sans-serif;} C. .news{text:red font-size:large; font-family:arial, sans-serif;} D. #news{text:red; font-size:large; font-family:arial, sans-serif;}


Ensembles d'études connexes

The Skeletal and muscle system

View Set

Culinary Safe Staff 81 Questions

View Set

Comps: Complete Terms Practice Sets

View Set

Microeconomics final study guide

View Set

Anatomy 2: Chapter 21- Blood Vessels and Circulation ep9-6

View Set

EMT 36 Patients with Special Challenges

View Set