LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » Blogspot / Blogspot Tricks / HTML Codes / HTML-CSS-PHP-JavaScript / Website / Website Tips » How To Create An HTML Hover Button For Your Blog & Website

How To Create An HTML Hover Button For Your Blog & Website

Create An HTML Hover Button For Your Blog & Website

How To Create An HTML Hover Button For Your Blog & Website?
Today the Question Is How To Create A Pure HTML Hover Button For Your Blog & Website With Images In Easy Steps To Make It Awesome And Stylish? Many bloggers like to place buttons instead of simple links.And in some widgets and posts, buttons do look a lot better than simple hyper-links.But most of the bloggers think that placing a button is a tedious job, and due to their laziness they finally end up placing a normal link.
🙂
But through this post, you will learn that the task of adding an HTML button is as simple as inserting a hyperlink ! This will need more work from your side, as it does not only depends on the code, but also on the graphics. That means you have to create two buttons, with exactly the same dimensions, one as Button_Up and one as Button_Down (when cursor is on the button).

Here’s the button: example…

Click Me

I have used these two images:
IMAGE 1: How To Create An HTML Hover Button For Your Blog & Website
IMAGE 2: How To Create An HTML Hover Button For Your Blog & Website

If you want to place a button similar to that, then simply copy and paste this code and change the RED Text with your desire one.

<a href="http://www.exeideas.com">
<img src="IMAGE1" onmouseover="this.src='IMAGE2'" onmouseout="this.src='IMAGE1'" alt="Click Me"/>
</a>

Like………

<a href="http://www.exeideas.com">
<img src="http://www.exeideas.com/wp-content/uploads/2012/07/Rss_2.png"onmouseover="this.src='http://www.exeideas.com/wp-content/uploads/2012/07/RSS_1.png'"onmouseout="this.src='http://www.exeideas.com/wp-content/uploads/2012/07/Rss_2.png'"
alt="Click Me"/>
</a>

Although this method is quite slow in loading the second image, but this method is easier for most of the users. Moreover the other methods use CSS coding / JavaScript, due to which for every type of image, you have to add a different code in the blog template, which can slow down your whole blog…

You Like It, Please Share This Recipe With Your Friends Using...

4 Responses to “How To Create An HTML Hover Button For Your Blog & Website”

  1. Please, i’d like to apply this code but where or how do I apply it. is it on the template or where?

Leave a Reply

Your email address will not be published. Required fields are marked *