Element

basefont

Error Type

Known

Guidelines

Requirement

basefont must not be used.

Error

basefont used.

Short Description

This error is generated for all basefont elements.

How To Repair

Remove the basefont element from the document.

Steps To Check

Procedure

1. Check the document for any basefont elements.

Expected Result

1. The document must not contain any basefont elements.

Failed Result

1. Remove the basefont elements from the document.

Examples

Pass Examples

Does not contain a basefont 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 #176 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains a basefont 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 #176 - Positive</title>
</head>
<body>
<basefont face="Arial" size="4"/>
</body>
</html>

English | German | Italiano


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