Contents

[edit]

Access: [11.2.1.5]: replace deprecated html <font> (Priority 2)

[edit]

Cause:

Replace deprecated html elements and attributes to ensure web pages remain compliant with the most current browser technologies. The <font> element is deprecated. Use Cascading Style Sheets (CSS) to set font size and color.

[edit]

Example:

Good
<!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/11.2.1</title>
</head>
<body>
<font size="6">Hello</font>
</body>
</html>
[edit]

Solution:

[edit]

References:

Retrieved from "http://www.htmlpedia.org/wiki/Access_11.2.1.5"