Filters
Question type

Study Flashcards

To apply a style to one or more of elements on a web page, configure a CSS _____________.


A) group
B) id
C) class
D) attribute

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following is the CSS property used to set the text color?


A) bgcolor
B) background-color
C) color
D) none of the above

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

CSS was first approved as a standard by the W3C in ______.


A) 1996
B) 2002
C) 1992
D) none of the above

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

Select the code below that configures a class called "offer" with blue text using CSS.


A) offer { color: blue; }
B) .offer { color: blue; }
C) .offer { text: blue; }
D) #offer { color: blue; }

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

Which of the following symbols terminates a style declaration?


A) : colon
B) ; semi-colon
C) ! exclamation mark
D) # hash mark

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

Which of the following is a CSS selector that will configure the paragraph elements within the footer element.


A) p footer
B) footer p
C) #footer p
D) .footer p

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Use the ______ element to create a generic area or section on a web page that is physically separated from others.


A) div
B) strong
C) h1
D) small

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

Which of the following is the CSS property used to set the background color?


A) bgcolor
B) background-color
C) color
D) none of the above

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

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

E) C) and D)
F) None of the above

Correct Answer

verifed

verified

Which of the following is an HTML attribute that configures inline styles?


A) link
B) style
C) id
D) type

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

B

Where do you place the code to associate a web page with an 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

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

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

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

According to the CSS order of precedence, ______ styles override ________ styles.


A) external, embedded
B) embedded, inline
C) inline, external
D) external, inline

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

An External Style Sheet uses the _____ file extension.


A) ess
B) css
C) html
D) No file extension is necessary

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

B

Use the ______ element to create logical areas on a web page that are embedded within paragraphs or other block formatting elements.


A) div
B) span
C) both a and b
D) neither a nor b

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

Use the _____ element to code embedded styles on a web page.


A) link
B) style
C) embed
D) css

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

Which of the following is correct CSS syntax?


A) p { color: #000000; }
B) p { color=#000000; }
C) p : color #000000;
D) p { color;#000000; }

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A

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

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Which of the following is a CSS selector that will configure the anchor elements within the nav element.


A) nav a
B) .nav a
C) nav anchor
D) #nav a

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Use the ______ element to associate a web page with an external style sheet.


A) target
B) a
C) include
D) link

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

Showing 1 - 20 of 25

Related Exams

Show Answer