Access 11.2.1.9

From Htmlpedia
Jump to: navigation, search

Access: [11.2.1.9]: replace deprecated html <strike> (Priority 2)

Cause:

Replace deprecated html elements and attributes to ensure web pages remain compliant with the most current browser technologies. The <strike> element (used to render strike-through style text) has been deprecated. Use Cascading Style Sheets (CSS) to apply font effects to text.

Example:

Bad
<!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>
<strike></strike>
</body>
</html>

Solution:

References: