Skip to main content

Add a Floating Back to Top Button in your Blog / Website

Bismillah! The following article is about "back to top" buttons for websites or blogs made with the help of some simple CSS and HTML code. Back to Top button is a button which is used to go to the top of the page. When a user comes downwards reading any article or any other thing on the page of the blog or website then it is difficult and a little bit time-taking work to go back to the top of the page. So if you add a button for this purpose then your site's users / visitors can easily go to top by clicking it. Almost every professional website and blog has a "go to top" or "back to top button".
This tutorial is for you to add a back to top button easily in your blog or website. The steps to add this button are given below:


1. Open your website / blog's HTML and paste the following code just above the </body> tag
<!--BACK2TOP-IMAGE-STARTS-TECHMODULES.BLOGSPOT.COM--><a alt="Back to Top" style="display:scroll;position:fixed;bottom:25px;left:5px;" href="#" title="Back to Top"><img onmouseover="this.src=&#39;http://2.bp.blogspot.com/_4fVBL4fjrFI/SWJFdnGHKDI/AAAAAAAABtk/Vdn-WUg6nC8/s1600/Back2Top_2.jpg&#39;" src="http://4.bp.blogspot.com/_4fVBL4fjrFI/Sa6g-Gqz9uI/AAAAAAAAClU/V4ImwYVHpCw/s1600/B2T_Small.jpg" onmouseout="this.src=&#39;http://4.bp.blogspot.com/_4fVBL4fjrFI/Sa6g-Gqz9uI/AAAAAAAAClU/V4ImwYVHpCw/s1600/B2T_Small.jpg&#39;" /></a> 
<!--BACK2TOP-IMAGE-STOPS-TECHMODULES.BLOGSPOT.COM-->
2. OPTIONAL: You can change the red code with your own image URL.
You have done it. Now refresh your website to check the button.

Features:

  • Fixed position on the page
  • Easy customization
  • Zoom effect on mouse over
  • No effect on page loading speed

Note: Please give your comments about this article with the comment form below.

Comments

  1. great blog will be trying out these on my blog.

    ReplyDelete
  2. They will surely help a lot.Thanks a lot ! Would definitely try out in my blog also.
    web design company

    ReplyDelete

Post a Comment

Popular posts from this blog

NoFollow Blogger Comments - Increase Traffic To Your Site.

What Are NoFollow Tags?   NoFollow is a tag given to your site's/blog's links which is used to tell search robots to index a URLbut do not follow it.It is used when you are linking to a non-trusted site/blog.NoFollow links were originally created  to block Search Engines from following the links but not to follow them,beacause of theamount of blog comment spamming.Spammers are spamming in blog comments to get better SEO and anchored  links for their own sites/blogs.By these tags you just showed to search robots that the link they are indexing is only a text. Why To Nofollow Comment Links In Blogger? Robots follow all the comment  links on your blog they can spam and if they do so then your all site ranking and traffic will decrease suddenly,so you will not find any comment on your blog.If you add Nofollow comment links to your blog  your site/blog would be protected by Spam!

Get a Best Free Web Hosting from ByteHost.Com

A website is necessary for every business or a job now a days. And to make a website, a web hosting is needed. Many people who can't afford paid web hosting search for a good free web hosting site to make their websites. These are free but they have also some disadvantages such as they are not reliable and your data can be removed any time. Or many of these hosting site are very slow and they give small bandwidth. And some site insert their own advertisements in your site. Among the free hosting websites, there are many site which are better than others with fast speed, large bandwidth and more storage space. I suggest you to use Byethost.Com .

5 things you should know about the qualities of a good blogger

There's thousands of bloggers beginners who want to succeed with blogging, but many do not know how. I'm not sure they will all become successful bloggers, only people who will be on the right track. So you might ask me  "How do I choose the right path?"  The answer lies in your brain.Yes, the forms are correct in your brain.  You have full control to choose what you do. So your brain is the master of choosing the right ways. In other words, you should have thought before you can correctly choose the right one. So if you want to become a successful blogger, the first things you must determine is what is a successful blogger? Or exactly what are the qualities you need to become a successful blogger?  Here are the answers:   1.  Hard work.  I read many blogs of successful bloggers and I note that they never teach or advise how to get rich quickly. They say they do not like someone's getting rich overnight. And the success they have are the results of hard work