click on link goes to the top css code example
Example 1: how do you make a link to the top of a page
<a href="#top">Back to top of page</a>
Example 2: how do you make a link to the top of a page
<a name="top"></a>
<a href="#top">Back to top of page</a>
<a name="top"></a>