Require <map name>
to be unique
- Rule ID:
- map-dup-name
- Category:
- HTML Syntax and concepts
- Standards:
- HTML5
In HTML5 the <map name>
attribute is required to be a unique name within the document.
Rule details
Examples of incorrect code for this rule:
<map name="foo"></map>
<map name="foo"></map>
Examples of correct code for this rule:
<map name="foo"></map>
<map name="bar"></map>
Version history
- 7.9.0 - Rule added.