Access 11.2.1.6

From Htmlpedia
Jump to: navigation, search

Access: [11.2.1.6]: replace deprecated html <isindex> (Priority 2)

Cause:

Replace deprecated html elements and attributes to ensure web pages remain compliant with the most current browser technologies. The <isindex> element (which creates a single-line text input control) has been deprecated. Use <input> to create text input controls instead.

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>
<isindex prompt="Enter your search phrase: ">
</body>
</html>

Solution:

References: