This can be used for in-page targeting of elements (for example, for scrolling to a certain point):
<a name="table-of-contents"></a> <h1>Table of Contents</h1> ... <a href="#table-of-contents">Table of Contents</a>
Although, this is often redundant (and may also take up empty space), because elements with identifiers can be directly targeted:
<h1 id="table-of-contents">Table of Contents</h1> ... <a href="#table-of-contents">Table of Contents</a>
source share