True/False
Indicate whether the sentence or statement is true
or false.
|
|
|
1.
|
Not
all browsers support contextual selectors.
|
|
|
2.
|
An
inline style applies only to the specific element that it modifies.
|
|
|
3.
|
XHTML
and HTML require that each id be unique, so a particular id value can be used only once in a
document.
|
|
|
4.
|
An
HTML file contains both formatting tags and content
|
|
|
5.
|
HTML
is a programming language used to create Web pages
|
|
|
6.
|
The
HTML code <hr style=width 50%> instructs the browser to draw a line covering half
of the width of the page.
|
Modified True/False
Indicate
whether the sentence or statement is true or false. If false, change the identified word or
phrase to make the sentence or statement true.
|
|
|
|
|
|
7.
|
The
item marked 1 in the figure above is the margin. _________________________
|
|
|
8.
|
The
item marked 3 in the figure above is the padding. _________________________
|
|
|
9.
|
The
item marked 2 in the figure above is the border. _________________________
|
|
|
10.
|
Like relative URL references, an absolute reference begins with a
slash
|
Multiple Choice
Identify the
letter of the choice that best completes the statement or answers the question.
|
|
|
11.
|
The
specifications for CSS are maintained by ____. a. | DARPA | c. | NSF | b. | the W3C | d. | ARPA | | | | |
|
|
|
12.
|
In
the style li b {color: blue}, b is the ____ element. a. | parent | c. | descendent | b. | main | d. | base | | | | |
|
|
|
13.
|
HTML
and XHTML support a generic block-level element called the ____ element.
|
|
|
14.
|
The
____ element is used as a general block-level element.
|
|
|
|
|
|
15.
|
The
item indicated in the figure above is a ____ value.
|
|
|
16.
|
White
has an RGB value of a. | (0,0,0) | b. | (255,255,255) | c. | (0,255,0) | d. | (255,0,255) | | | | | | | | |
|
|
|
17.
|
In
the hexadecimal system, the value we know as 16 is expressed as
|
Completion
Complete each sentence or
statement.
|
|
|
18.
|
The appearance of an HTML document should be controlled by _________________ rather than by HTML attributes,
|
|
|
19.
|
With
____________________ style sheets, a style sheet is placed in a documents head, setting the style
definitions for the documents elements.
|
|
|
20.
|
With
____________________ style sheets, a style sheet is saved in a separate document and is applied to a group
of pages in a Web site.
|
|
|
21.
|
The
effect known as style ____________________ causes style declarations to cascade down through a
documents hierarchy.
|
|
|
22.
|
____________________ widths are expressed in standard CSS units of length, or with the keywords,
thin, medium, or thick.
|
|
|
23.
|
A(n)
____________________ effect is applied only when a user rolls the mouse pointer over an
element.
|
Short Answer
|
|
|
24.
|
What
happens if you include only three values for the padding style?
|
|
|
25.
|
How
do you set the padding size for the left side of an element without affecting the other sides?
|