SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML CSS

Removing undeline from links

We can remove underline from the anchored text links by defining the style locally this will over ride the setting of CSS file. We will use the local style command text-decoration: none; to remove the underline. Here are some examples of this. Let us start with an example of simple link with underline. We will first display the link and then below that the code. Same way the link without underline is displayed and then the code below it. This is a link with underline
<a 'http://www.plus2net.com/html_tutorial/css_underline.php'>This is a link with underline</a>
This is a link without underline
<a href='http://www.plus2net.com/html_tutorial/css_underline.php' style='text-decoration: none;'>This
is a link without underline</a>
Here we have used style='text-decoration: none;' to remove the underline from the link

Be the first to post comment on this article :


Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer