Element

font

Error Type

Known

Guidelines

Requirement

font must not be used.

Error

font used.

Short Description

This error is generated for all font elements.

How To Repair

Remove the font element from the document.

Steps To Check

Procedure

1. Check the document for any font elements.

Expected Result

1. The document must not contain any font elements.

Failed Result

1. Remove the font elements from the document.

Examples

Pass Examples

Does not contain a font element.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #177 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains a font element.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #177 - Positive</title>
</head>
<body>
<font size="4"/>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API