IconIcon

Thursday 13 March 2014

How to Create Autoclick Banners and Links in HTML

Hello Guys,

Welcome back to techntips.net
We published an article on HTML secret tricks
before.
Today we will learn how to create  Autoclick Banners and Links in HTML.

If you have any blog or website then I am sure
you must have used HTML and javascript before.
techntips.net

This trick is very simple and you will love it.
Now lets come on topic.

 Here is code for normal HTML link--
<a href="http://techntips.net">Click here</a>  

To create a link auto clickable use below code-- 

<a href="url" onmouseover="window. location=this.href">Text to show</a> 

Example----

 <a href="http://techntips.net" onmouseover="window. location=this.href">Click here</a> 

To create autoclick banner---

<a href="url" onmouseover="window. location=this.href"><img src="image url"/></a>  
Example--- 

<a href="http://techntips.net" onmouseover="window. location=this.href"><img src="http://mybanner.jpg"/></a> 

Please let us know if you have any queries 
SHARE THIS ARTICLE 

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...