Exam 3: Getting Started With Css

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

There is a limit of 100 element types that can be included in a single rule.

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

False

A style rule is composed of five main parts.

Free
(True/False)
4.8/5
(30)
Correct Answer:
Verified

False

When multiple style rules select the same element and specify different values for the same property, CSS uses availability rules for determining which declaration applies to the element.

Free
(True/False)
5.0/5
(39)
Correct Answer:
Verified

False

An ____ style sheet,  is a separate file containing style information that multiple web pages can link to.

(Multiple Choice)
4.9/5
(38)

  In the figure above, item ____ shows style rule(s) applied to the body element. In the figure above, item ____ shows style rule(s) applied to the body element.

(Multiple Choice)
4.9/5
(38)

Multiple selectors are separated by semicolons .  _________________________

(True/False)
4.8/5
(36)

  Some developers prefer to give each declaration its own line, often indented beneath its selector, as shown in the ____ in the figure above. Some developers prefer to give each declaration its own line, often indented beneath its selector, as shown in the ____ in the figure above.

(Multiple Choice)
5.0/5
(28)

A single HTML element is limited to ____ attributes.

(Multiple Choice)
4.8/5
(40)

Changing an inline style requires locating the style ____.

(Multiple Choice)
4.8/5
(34)

In what situation(s) should you use an id selector? What is the syntax of an id selector.

(Essay)
4.8/5
(33)

When working with a style rule, one or more _______ follow the selector(s); each specifies a CSS attribute to apply to the selector(s) and the value to assign to the attribute.

(Multiple Choice)
5.0/5
(26)

An id selector is simply a pound sign (#) followed by the id ____ for the element.

(Multiple Choice)
4.7/5
(36)

  In the figure above, item ____ shows style rule(s) applied to a class . In the figure above, item ____ shows style rule(s) applied to a class .

(Multiple Choice)
4.9/5
(29)

A selector identifies the HTML element to which a declaration applies.

(True/False)
5.0/5
(38)

Case-Based Critical Thinking Question Beverly is creating a website to document her trip to Spain.  Her friend, Gail, gives her a cheat sheet of useful CSS tips. Gail's tip sheet states reminds her to use a(n) ____ before each class selector.

(Multiple Choice)
4.7/5
(43)
Match each stylesheet type with its description.
A style rule inserted into the opening tag of an element using the style attribute
inline
A separate file containing style information that multiple web pages can link to
external
Consists of CSS style rules entered in the head element of an HTML document
embedded
Correct Answer:
Verified
Premises:
Responses:
A style rule inserted into the opening tag of an element using the style attribute
inline
A separate file containing style information that multiple web pages can link to
external
Consists of CSS style rules entered in the head element of an HTML document
embedded
(Matching)
4.9/5
(35)

An id attribute value can be assigned to ______ element(s).

(Multiple Choice)
4.8/5
(36)

A class ________________ creates a style rule based on values assigned to elements using the HTML class attribute.

(Short Answer)
4.9/5
(38)

Name and describe the two parts of a style rule.

(Essay)
4.9/5
(31)

The values for the ____ and type attributes specify that user agents should read the external document as a style sheet written in CSS.

(Multiple Choice)
4.8/5
(46)
Showing 1 - 20 of 71
close modal

Filters

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