HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

The “name” attribute is obsolete. Consider putting an “id” attribute on the nearest container instead.

In the days before HTML5, named anchors were used as a way to provide a link to a specific section of a document, for example:

<h2>
  <a name="section-5">Section 5</a>
</h2>

Now in HTML5, the name attribute is obsolete for <a> tags, and instead, you can use the id attribute of any element (not just <a>) as a way to navigate directly to it, for example:

<h2 id="section-5">Section 5</h2>

Read more about:

Related W3C validator issues

When was the last time you validated your whole site?

Keep your sites healthy checking for A11Y/HTML issues on an automated schedule.