Duplicate HTML element attributes¶
According to the HTML5 standard, an HTML element must not have two or more attributes with the same name. If the attribute values are the same, this is most likely harmless, but it may indicate a copy-paste mistake.
Inspect the element in question and delete all but one of the redundant attributes.
The following HTML snippet contains an anchor element with a redundant
<a href="https://semmle.com" href="https://semmle.com">Semmle</a>
The redundancy can be resolved by deleting one of the attributes:
HTML5 Standard: 184.108.40.206 Attributes.