CIS1350 Ch. 2

Ace your homework & exams now with Quizwiz!

Yellow has the RGB triplet _____.

(255, 255, 0)

Identify a contextual selector that matches any element.

*

Identify a rule that should be added to a style sheet to access and load a web font.

@font-face

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

T

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

T

Nested lists can be displayed in a(n) _____ style through the use of contextual selectors.

outline

Identify a padding property used to set the width of the padding space.

padding: size;

Identify an element used for quoted material.

q

_____ measures the amount of space between words.

tracking

The first style sheet interpreted by a browser is the one built into the browser itself.

F

_____ units are specified in one of five standard units of measurement.

absolute

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

dynamic

The @import rule has the same impact as adding multiple _____ elements to a Hypertext Markup Language (HTML) file.

link

A general rule for printing is to use _____ fonts for headlines and serif fonts for body text.

sans-serif

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

text-transform

Identify the correct syntax for adding comments in style sheets.

/*comment*/

The default value for both kerning and tracking is _____ pixels.

0

In the hexadecimal numbering system, the number 16 is expressed as _____.

10

In the hexadecimal numbering system, the number 21 is expressed as _____.

15

Identify a pseudo-class which is the first descendant of the parent that matches the specified type.

:first-of-type

Which of the following dynamic pseudo-classes means the link has not yet been visited by a user?

:link

Which of the following rules defines character encoding in every Cascading Style Sheets (CSS) document?

@charset "encoding";

The _____ statement must always come before any other style rules in a style sheet.

@import

The Cascading Style Sheets (CSS) @rule that imports an external style sheet file located at ur1 is _____.

@import "url";

Cascading Style Sheets (CSS) 3 introduced opacity to the CSS color models where opacity defines how transparent the color appears.

F

Hue values range from 0° to 360°, where 0° matches the location of blue on the color wheel, 120° matches red, and 240° matches green.

F

In every version of Cascading Style Sheets (CSS), one can apply a style rule containing a list of style properties to an element or a group of elements known as a selector.

F

In the context of formatting lists, by default, unordered lists are displayed with numerals while ordered lists are displayed with a solid disc.

F

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.

F

To import a style sheet, the command =import url(url); must be added to the style sheet file, where url is the URL of an external style sheet file.

F, @import

Relative units define a font size using one of five standard units of measurement.

F, absolute

A decimal is a number expressed in the base 16 numbering system rather than in the commonly used base 10 system.

F, hexadecimal

Embedded styles are directly applied to specific elements using the style attribute.

F, inline styles

Leading measures the amount of space between characters, while tracking refers to the amount of space between words.

F, kerning

Hue measures the brightness of a color and ranges from 0% (black) up to 100% (white).

F, lightness

Structural pseudo-elements are used to classify items based on their locations within the hierarchy of page elements.

F, pseudo-classes

One approach to retain the consistency of web page text is to use absolute units, which are expressed relative to the size of other objects within the web page.

F, relative

A generic font is a font that is identified by name, such as Times New Roman or Helvetica.

F, specific

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.

HSL

Which of the following browsers supports the web font format "Embedded OpenType"?

Internet Explorer (IE)

A color value is an alphabetic expression that represents the intensity of the primary colors.

T

A pixel is a relative unit because the actual rendered size depends on the density of the output device.

T

Absolute units are units that are fixed in size regardless of the output device and are usually used only with printed media.

T

An additional factor in applying a style sheet is that properties are passed from a parent element to its children in a process known as style inheritance.

T

Browser extensions are identified through the use of a vendor prefix, which indicates the browser vendor that created and supports the property.

T

Cascading Style Sheets (CSS) allow RGB values to be entered as hexadecimal numbers.

T

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.

T

Embedded styles apply to the Hypertext Markup Language (HTML) documents in which they are created and are accessible to other documents in the website.

T

In addition to the W3C-supported style properties, most browsers supply their own extended library of style properties, known as browser extensions.

T

One advantage of user-defined style sheets is that they make the web more accessible to visually impaired users who may require larger fonts or the absence of clashing color schemes.

T

RGB triplets can describe 2563 (16.7 million) possible colors, which is a greater number of colors than the human eye can distinguish.

T

Saturation measures the intensity of the chosen color and ranges from 0% (no color) up to 100% (full color).

T

The content of a blockquote element is usually placed in quotation marks.

T

The most common way of accepting user input is through a web form

T

The subscript and superscript styles lower or raise text vertically, as well as resize it.

T

To access and load a web font, the @font-face rule should be added to a style sheet.

T

User-defined styles are defined by users based on the settings they make while configuring a browser.

T

Writing a style rule on a single line saves space, but entering each style property on a separate line often makes a code easier to read and edit.

T

Which of the following is an example of web safe font stacks?

Verdana

The _____ pseudo-class represents the exact instant in which a link is activated.

active

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 _____.

analogic

How is background color defined in a Cascaded Style Sheets (CSS) file?

background-color: color;

Identify an attribute selector that recognizes groups of elements that share a similar characteristic or property.

class

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

color: color;

Decorative opening and closing quotation marks can be inserted using the _____ property.

content

A typeface, best used in small doses for decorative page elements, that mimics handwriting with highly stylized elements and flourishes is _____.

cursive

_____ measures the brightness of a color and ranges from 0% (black) up to 100% (white).

darkness

Each child element may contain children of its own and so forth down the hierarchy, creating a set of _____ elements that are all descended from a common parent.

descendant

Many web browsers include _____ tools to make it easier for designers to locate the source of a style that has been applied to a specific page element.

developer

Identify an attribute selector used to select an element based on its class value.

elem.class

Which of the following attribute selectors selects all elem elements whose att attribute ends with text?

elem[att$="text"]

Identify an attribute selector that selects all elem elements whose att attribute begins with text.

elem[att^="text"]

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

element::before {content: text;}

Identify a Cascading Style Sheets (CSS) selector that is used to select pseudo-elements.

element::pseudo-element

The _____ unit is the preferred style unit for web page text because it makes it easy to develop pages in which different page elements have consistent relative font sizes under any device.

em

Unlike an external style sheet, a(n) _____ style sheet is applied only to the web page in which it is placed.

embedded

Extending the first line of text to the left of a text block creates a _____ indent.

hanging

Cascading Style Sheets (CSS) allow RGB values to be entered as _____.

hexadecimals

The _____ pseudo-class is to be used for a situation in which a user has moved the mouse pointer over a hypertext link prior to clicking the link.

hover

Color values using the HSL model are described in Cascading Style Sheets (CSS) 3 using _____.

hsl (hue, saturation, lightness)

_____ is the tint of a color and is usually represented by a direction on a color wheel.

hue

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

id and class

Identify a typographic attribute that measures the amount of space between characters.

kerning

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.

last

Identify a generic font group that is a typeface in which each character has the same width.

monospace

_____ defines how solid a color appears.

opacity

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

parent

A(n) _____ represents a single dot on an output device.

pixel

A technique known as _____ places code conforming to older standards before newer properties, providing support for old browsers but still allowing newer standards and techniques to be used by the browsers that support them.

progressive enhancement

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.

property: value

A _____ is a classification of an element based on its current status, position, or use in a document.

pseudo-class

_____, another type of pseudo selector, is an object that exists only in the rendered page.

pseudo-element

_____ units express font size according to the size of other objects within a web page.

relative

_____ measures the intensity of the chosen color and ranges from 0% (no color) up to 100% (full color).

saturation

To direct a style rule to specific elements, _____ can be used to match only those page elements that correspond to a specified pattern.

selector patterns

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

serif

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

sibling

An additional factor in how an element is rendered is that properties are passed from a parent element to its children in a process known as _____.

style inheritance

Identify a property used to align text horizontally.

text-align: alignment;

The _____ value of the vertical-align property aligns the bottom of the element with the bottom of the text in a line.

text-bottom

Which of the following list styles should be applied to the ol element to display an unordered list with markers as shown below? • Home • Getting Started • Scrapbooking Tips • Supply List

ul {list-style-type: disc;}

The style rule ul {list-style-image: url(redball.png);} displays items from _____ lists marked with the graphic image in the redball.png file.

unordered

Identify a relative unit in which lengths are expressed as a percentage of the width or height of a browser window.

viewport unit

Adding all the three primary colors—red, green, and blue—at maximum intensity produces the color _____, while adding any two of the three primary colors at maximum intensity produces the trio of complementary colors—yellow, magenta, and cyan.

white

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

wildcard


Related study sets

Health lesson 6:Developing proper eating habits

View Set

Section 4: Georgia Agency Basics Review Exams

View Set

Maternal Child- Exam 2 (Chapter 13-17)

View Set