title: What is the usage of the 'name' attribute in H1..H6 tags?
body: <p>As far as I understand, the <code>id</code> attribute is used as a unique identifier for some tag in the entire document, while <code>name</code> is used as an identifier (not necessarily unique in the document) that is sent with some data to the server.</p>
  
  <p>However, using the element inspector in pages from the MDN (take <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript" rel="nofollow">this</a> as an example), I noticed that all the article's <code>h1</code>..<code>h6</code> tags that are present in the navigation tree have <code>name</code> attributes, and that they are identical to their respective tag's <code>id</code>s. In this case, what is the usage of such attributes? Are they used to build the navigation tree?</p>