How to Make a Link Unclickable



“Internet” and “Links” relationship is there since internet came into being and hopefully will lasts forever. Links are quick and easy way to move around pages and websites with just click of the mouse. It’s very simple to create a clickable link with the help of HTML < a > tag, but other way around someone might wonder; how to make a link unclickable? In this brief tutorial we are going to show you, how to create a non clickable link.

You might familiar with < a > tag, it goes like this

< a href=”website URL”>Some Text< /a >

To make a non-clickable link to use onclick event like this

< a href=”website URL” onclick="return false" >Some Text< /a >

Done! Isn’t it simple?

Now try yourself and do something unorthodox on your website.




What's More
Comments

No comments yet! Be first to comment
* Required Fields
Your Name *
Your Email *
Message *  
What's New
NewnFresh.com. All Rights Reserved.
Reproduction of material from any NewnFresh.com pages without written permission is strictly prohibited.