(^642) Answers
Chapter 6
Checkpoint 6.1
- Answers will vary. They could include the following: ease of site maintenance,
separation of style from structure, increased accessibility, support of the Semantic
Web, smaller documents, increased page layout control, support of multiple
media types, and greater typography control. - Relative positioning allows you to alter the position of an element in relation to
where it would otherwise be displayed using normal flow. Absolute positioning
allows you to specify by pixels the exact location of an element in a Web page. - The z-indexproperty provides flexibility in the display of elements. When using
XHTML only there is no easy way to “stack” elements other than configuring
backgrounds for pages or tables. The z-indexproperty configures the stacking
order of elements on a Web page. The default z-indexvalue is 0. Elements
with higher z-indexvalues will appear stacked on top of elements with lower
z-indexvalues rendered on the same position of the page.
Checkpoint 6.2
- The page layout is liquid. Attributes of liquid page design include the following:
pages take up 100 percent of the browser window—there is no blank margin on the
left or right side of the page. The middle area expands and contracts when the page
is resized. The content flows to fill whatever size window is used to display it. - Answers will vary. Some of the suggestions listed in the debugging section may be
used. - Configure the XHTML tag as a selector if the style is expected to be applied
every time that tag is used. Configure an id if the style is for a specific element
that is expected to occur only once on a page. Configure a class if the style is
expected to be applied to a variety of different XHTML elements.
Review Questions
- Student answers will vary. The four
principles that are essential to com-
plying with WCAG 2.0 are as fol-
lows: Perceivable, Operable,
Understandable, and Robust.- Content must be Perceivable
- Interface components in the
content must be Operable
3. Content and controls must be
Understandable
4. Content should be Robust
enough to work with current
and future user agents, includ-
ing assistive technologies
- a
- a
- b
- b
- d
- c
- c
- b