Exam 4: Cascading Style Sheets

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Which element is used to create an internal style sheet?

Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
Verified

C

Which type of selector is based on the hierarchical structure of the elements in the document tree?

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

Which pseudo-class can be used to have underlines appear or change the color of text when the user points at an element?

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

C

The ____ element lets you specify inline elements within a document that have their own name and style properties.

(Multiple Choice)
4.9/5
(36)

In a style rule, the ____________________ is the precise specification of the property.

(Short Answer)
4.9/5
(39)

It is necessary to use the < style > element in an external style sheet.

(True/False)
4.9/5
(41)

Style rules contained in ____ affect only the document in which they reside.

(Multiple Choice)
4.9/5
(36)

The difference between an id attribute and a class attribute is that an id should refer to only one occurrence within a document.

(True/False)
4.9/5
(31)

How many parts compose a style rule?

(Multiple Choice)
4.8/5
(44)

You can combine CSS rules with HTML code using an external style sheet.

(True/False)
4.9/5
(39)

Which UI element states selector matches any option button that is in a selected state?

(Multiple Choice)
4.8/5
(29)

Style rules express the style characteristics for an HTML element.

(True/False)
4.7/5
(38)

Which type of selector is the simplest?

(Multiple Choice)
4.9/5
(33)

Which element can be used with the class and id attributes to create content containers on a web page?

(Multiple Choice)
4.8/5
(46)

Explain pseudo-elements.

(Essay)
4.7/5
(33)

Which feature of CSS means that multiple style sheets and style rules can apply to the same document?

(Multiple Choice)
4.9/5
(38)

Which of the following is a text document that contains the style rules?

(Multiple Choice)
4.8/5
(32)

CSS rules that are included earlier in a style sheet take precedence over later rules.

(True/False)
4.8/5
(29)

The !important keyword allows you to specify that a rule should take precedence no matter what the order in the style sheet.

(True/False)
4.8/5
(39)

CSS comments begin with ____.

(Multiple Choice)
4.9/5
(32)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)