Example for Checkpoint
3.3, continued.

Example
Slide 31 of 120
Previous slide. Next slide.

Use style sheet commands rather than BLOCKQUOTE, UL, DL & DT, TABLE and so on just to get a quick formatting boost. Each of those HTML elements have their proper use in defining the structure of a document. For all those simple formatting tricks you did using HTML, please use CSS instead. For example, you can create a nice colored background for an indented paragraph without creating a TABLE:

If your browser supports style sheets, you will see a block of text with a red border, indented from the margins of the page, and sporting a light blue background.

And the style command to create this is simply:

<DIV style="border: thin red groove; padding: 1em; margin: 2%; background: #ccffff">If your browser...</DIV>

Up one level To Checkpoints for Guideline 3.
Next slide: Example for Checkpoint 3.4

Introduction: Overview Guidelines: Overview Checkpoints: Overview Examples: Overview

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C