According to the HTML5 spec the empty fragment # and the special fragment #top will link to the top of the page.
<a href="#">Go to top</a>
<a href="#top">Go to top</a>
There is no need to create a matching anchor if you use these special fragment names.