True/False Indicate whether the statement is true or
false.
|
|
|
1.
|
CSS comments can appear only in style sheets (internal or external), not inline
styles.
|
|
|
2.
|
You can use the small-caps-variant style property to apply a small-caps effect
to text.
|
|
|
3.
|
You can include comments that describe or otherwise include notations about the
style sheet by using the following syntax: */ This is a CSS comment. /*
|
|
|
4.
|
CSS includes a mechanism that allows you to change the appearance of links based
on the state of the link.
|
|
|
5.
|
With style rules it is possible to create a custom style class for a particular
element that also applies to pseudoclasses. Example - a.emphasis:link
|
|
|
6.
|
When creating style rules you cannot specify multiple selectors for a single
rule.
|
|
|
7.
|
Letter-spacing and word-spacing are two other text-formatting properties you can
use with CSS. These allow you alter spacing between individual letters and words and can use
specific standard CSS size units, such as pixels (px).
|
|
|
8.
|
Style rules that begin with # are called ID classes, and they allow you
to create a style rule that is applied to elements via the id attribute. This type of rule is
not recommended because XHTML requires the id attribute in a page to be unique. That is, a
specific id can only be used once per page.
|
|
|
9.
|
In CSS style rules, by placing a period between the base tag and the selector
portion we can create a generic style class. Example - p.bold { font-weight:bold
}
|
|
|
10.
|
With the text-formatting style property, text-transform, you can only use
the following values: none (default), uppercase, and lowercase.
|
|
|
11.
|
To apply a pseudoclass to the state of an element you place a period (.) between
the element and the pseudoclass. Example - a.link
|
Matching
|
|
|
Links have four distinct states. Match the correct state directly below
with its corresponding description. a. | Link | b. | Viewed | c. | Active | d. | Visited | e. | Clicked | f. | Hover | g. | Over |
|
|
|
12.
|
A link that has already been visited.
|
|
|
13.
|
A link that has the mouse pointer hovering over it.
|
|
|
14.
|
A link that has not yet been visited.
|
|
|
15.
|
A link that is being activated, such as with a mouse click.
|