Access 3.3.1.1

From Htmlpedia
Jump to: navigation, search

Access: [3.3.1.1]: use style sheets to control presentation (Priority 2)

Cause:

Use Cascading Style Sheets (CSS) to apply stylistic effects (i.e. font color, font size, paragraph indentation, etc.) and control positioning of content (i.e. page layout) within web documents.

Example:

Bad
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/3.3.1</title>
</head>
<body>
Does not use stylesheets.
</body>
</html>

Solution:

References: