title: Should I make HTML Anchors with 'name' or 'id'?
body: <p>When one wants to refer to some part of a webpage with the "<code>http://example.com/#foo</code>" method, should one use</p>
  
  <pre><code>&lt;h1&gt;&lt;a name="foo"/&gt;Foo Title&lt;/h1&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;h1 id="foo"&gt;Foo Title&lt;/h1&gt;
  </code></pre>
  
  <p>They both work, but are they equal, or do they have semantic differences?</p>