How to add a “Scroll to top” button to your website

If you have a long page with a lot of information. you can  simply  make a links after each paragraph. site navigation makes it easy for visitors to quickly find the information that interests them



















Follow these steps

  • Open your HTML file
  • Add  the following at the top of your page  just after the ending of the head tag
 <a name="top"></a>  

  • Place the following code where ever you want the link to appear(Bottom of the site)


 <a href='#top'>Back to Top</a>  
How to add a “Scroll to top” button to your website How to add a “Scroll to top” button to your website Reviewed by Unknown on 12:18 AM Rating: 5

No comments:

Powered by Blogger.