Cascading Stylesheets (CSS)

Back to full list

What do I need to do?

Documents should be organized so they can be read without requiring a stylesheet.

How do I do this?

Design pages that do not depend entirely on stylesheet code. For example, instead of creating your own fonts, use the standard headings code (<h1>-<h6>) to differentiate between headings and other text. Only use stylesheets for fundamental organization purposes.

Why is this important?

Cascading stylesheets (CSS) are used to apply a consistent style to text and images on a Web site. Although stylesheets can make a Web designer's job easier, they are not supported by every Web browser and may be disabled by users with cognitive impairments.

 

For more detailed information, consult the WebAIM tutorial.