Access: [11.2.1.5]: replace deprecated html <font> (Priority 2)
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.
Example:
 | <!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>
|
Solution:
References: