Use style sheets | |
WAI / WCAG 1.0 Priority 2 checkpoint 3.3 | |
Issue Description The page contains tags or attributes that are deprecated (i.e. that have disappeared from HTML 4.01, and whose usage is discouraged by the W3C). These tags/attributes can be safely replaced with appropriate CSS rules. See the list of HTML 4.01 deprecated tags [http://www.w3.org/TR/REC-html40/index/elements.html] . |
|
How to fix
Replace the deprecated tags and attributes by appropriate CSS properties and rules. For example, use the CSS 'font' properties (e.g. font-size, font-family, font-weight) instead of the HTML FONT element to control font styles; use style="{float: left}" instead of align="left"; use style="border:none" instead of border="0" (within IMG tags). See the list of HTML 4.01 deprecated tags [http://www.w3.org/TR/REC-html40/index/elements.html] . |
|
Issue Explanation By using CSS presentation rules rather than (deprecated) HTML tags and attributes the following advantages are achieved:
|