8
votes
2answers
14k views

Name attribute is obsolete, what is the correct behavior when dealing with anchors?

Putting some code through the html5 validator, I get this: Warning: The name attribute on the a element is obsolete. Consider putting an id attribute on the nearest container instead. I ...