Example for Checkpoint
5.4 - If a table is used for layout, do not use any structural markup for the purpose of visual formatting.

Example
Slide 49 of 120
Previous slide. Next slide.

Priority 2

You already know we would prefer you to use Cascading Style Sheet language to lay out and format the text and images on your page. We also know that TABLE is still used widely for positioning text and image block on Web pages. If you feel you must use TABLE to lay out text elements, then please use CSS rather than TABLE or other HTML markup to style your text.

For example, use:

<TD><DIV style="font-weight: bold">Give me bolded text</DIV></TD>

rather than:

<TH>Give me bolded text<TH>


TH is in HTML to mean "Table Header", not to give you another way to bold some text.

Up one level To Checkpoints for Guideline 5.
Next slide: Example for Checkpoint 5.5

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

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C