Tutorial 3 Flashcards
The exact order in which external style sheets and embedded style sheets are processed
by the browser depends on the order in which they are listed within the HTML file.
True
The first style sheet interpreted by the browser is the one built in to the browser itself.
True
Styles set by the author of a Web page and stored in an internal style sheet are loaded
after internal and user-defined style sheets.
False
Web pages are unstructured documents in which elements are nested within other elements,
forming a hierarchy of elements.
False
The second version of CSS, CSS2, was introduced in 1998, expanding the language to provide styles to _________.
position elements at specific locations on a page
An external style sheet is included by adding the link element
to the document head, where ______is the URL of the external style sheet file.
url
The style sheet rules in a(n) ________ style sheet take precedence over any rules set in the browser’s internal style sheet or in a user-defined style sheet.
external
The ______ statement must always come before any other style rules in the style
sheet.
@import
The @import rule has the same impact as adding multiple ____ elements to the
HTML file.
link
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
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
Many Web browsers now include _______ tools to allow page designers to
track each style back to its source.
developer
Yellow has the triplet ____.
(255, 255, 0)
CSS allows RGB values to be entered as ____.
hexadecimals
In the hexadecimal system, 16 is expressed as ____.
10
CSS supports the ___ basic color names.
16
Browsers recognize five ____ font groups.
generic
If you use a hexadecimal value for a color, you preface the hexadecimal string with a(n) ____.
pound symbol
CSS supports styles to define both the text and ______ color for each element on your page.
background
To set the foreground or text color of an element, use the following property:
color: color;
If an element contains 12pt text, a length of 2em equals ____.
24pts
A(n) ____ represents a single dot on the output device.
pixel
____ is the tint of the color and is based on the color’s location on the color
wheel.
Hue
_____ defines how much of the colors below the surface of the current object show through to affect its appearance.
Opacity
A technique known as ______ enhancement places code conforming to older
standards before newer properties.
progressive
The default unit of length for kerning and tracking is the ____.
pixel
____ is the space between lines of text.
Leading
Extending the first line of text to the left of the text block creates a ____ indent.
hanging