Filters
Question type

Study Flashcards

A single HTML element is limited to ____ attributes.


A) 24
B) 48
C) 96
D) There is no limit.

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

Correct Answer

verifed

verified

When multiple style rules select the same element and specify different values, CSS rules calculate the selector's ____, which is its priority relative to other selectors.


A) precedence
B) order
C) availability
D) specificity

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

Correct Answer

verifed

verified

​ ​    -In the figure above, which lines of code set the formatting for the footer? -In the figure above, which lines of code set the formatting for the footer?

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

To apply the style rules in a stylesheet to every page on a web site, you add a(n) _____ element to each HTML document.


A) apply
B) link
C) inherit
D) div

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

Correct Answer

verifed

verified

HTML allows you to add the ________________ attribute to the opening tag for an element to give the element a name.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

You should use an id selector if you wan...

View Answer

Case-Based Critical Thinking Question Tim just started working as an intern for a local television station. He is responsible for maintaining the station’s website, and he is learning CSS as fast as he can. -Tim discovers, through trial and error, that he cannot assign the same id value to multiple elements.He quickly changes his strategy and uses a(n) ______ attribute instead.


A) class
B) type
C) div
D) named

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

Correct Answer

verifed

verified

You insert CSS code in a style element with a(n) attribute specifying that the contents are written in CSS._________________________

A) True
B) False

Correct Answer

verifed

verified

CSS3 defines a set of elements that serve the same function as the div element but that include semantic value.

A) True
B) False

Correct Answer

verifed

verified

Selectors can be based on ____.


A) element type
B) id
C) class
D) All of the above.

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

Correct Answer

verifed

verified

Showing 61 - 71 of 71

Related Exams

Show Answer