Filters
Question type

Study Flashcards

A _____ element is an element that contains one or more other elements, which are called child elements.


A) family
B) sibling
C) parent
D) descendant

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

Correct Answer

verifed

verified

Embedded style sheets are created by web page authors and consist of styles that are inserted directly within the body element of a Hypertext Markup Language (HTML) document.

A) True
B) False

Correct Answer

verifed

verified

RGB triplets can describe 256< sup>3< /sup> (16.7 million) possible colors, which is a greater number of colors than the human eye can distinguish.

A) True
B) False

Correct Answer

verifed

verified

Identify a contextual selector that matches any element.


A) %
B) *
C) elem
D) elem1, elem2, 


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

Correct Answer

verifed

verified

A typeface in which a small ornamentation appears at the tail end of each character is _____.


A) sans-serif
B) serif
C) monospace
D) fantasy

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

Correct Answer

verifed

verified

The style rule * {color: blue;} uses the asterisk (*) selector-also known as the _____ selector-to select all elements in a document.


A) character
B) text
C) wildcard
D) object

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

Correct Answer

verifed

verified

Which of the following properties is used to control the casing of text within an element?


A) font-variant
B) text-transform
C) text-align
D) font-style

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

Correct Answer

verifed

verified

The color scheme that uses two hues close to one another on the color wheel in which one color is the dominant color and the other is a supporting color used only for highlights and nuance is _____.


A) triad
B) tetrad
C) analogic
D) monochrome

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

Correct Answer

verifed

verified

A generic font describes the general appearance of a typeface and relies on a specific font definition.

A) True
B) False

Correct Answer

verifed

verified

If two style rules have equal specificity, and thus equal importance, then the one that is defined _____ in the style sheet is the one used.


A) last
B) first
C) second
D) third

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

Correct Answer

verifed

verified

Graphic designers consider _____ easier to use because it allows them to set the initial color based on hue and then fine-tune the saturation and lightness values.


A) HTML
B) CSS
C) HSL
D) HTM

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

Correct Answer

verifed

verified

Case-Based Critical Thinking Questions Case 3-3 Tim is creating a web page to display his poker club's set of rules. He has main categories and subcategories along with about a paragraph or more of explanation for each. Tim wants to display the subcategories in capital letters but does not want them to appear more important than the main categories, so he small capital letters. Which style should he use?


A) text-transform
B) font-transform
C) font-variant
D) text-variant

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

Correct Answer

verifed

verified

Two attributes, _____, are often key in targeting styles to specific elements.


A) id and char
B) id and class
C) id and type
D) id and elem

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

Correct Answer

verifed

verified

Another type of pseudo-class is _____ pseudo-class in which the class can change state based on the actions of a user.


A) static
B) dynamic
C) structured
D) unstructured

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

Correct Answer

verifed

verified

Identify the format to add new content before an element with Cascading Style Sheets (CSS) .


A) element:before open-quote;
B) element::before {content: open-quote;}
C) element:before text;
D) element::before {content: text;}

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

Correct Answer

verifed

verified

To set the foreground or text color of an element, use the following property:


A) text: color ;
B) forecolor: color ;
C) color: color ;
D) backcolor: color ;

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

Correct Answer

verifed

verified

_____ selectors are used to select elements based on elements that are adjacent to them in the document hierarchy.


A) Parent
B) Child
C) Sibling
D) Descendant

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

Correct Answer

verifed

verified

Case-Based Critical Thinking Questions Case 3-2 Terry is building a web site and wants to have three main links called Home, Product Info, and Contact Us. She will create a hierarchy of page elements and revise the style sheets. If Terry decides to select all elements belonging to the main class, he should use the _____ selector.


A) .main
B) p.main
C) #main.intro
D) main[href]

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

Correct Answer

verifed

verified

Inline styles are styles applied directly to specific elements using the style attribute element style="property: value"> content element > where element is the Hypertext Markup Language (HTML) element and _____ define the styles that are applied directly to that element.


A) property: value
B) element
C) element style
D) style

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

Correct Answer

verifed

verified

User-defined styles can be superseded by external styles, which are the styles that a website author creates and places within a Cascading Style Sheets (CSS) file and links to the page.

A) True
B) False

Correct Answer

verifed

verified

Showing 81 - 100 of 117

Related Exams

Show Answer