|
Get rid of underlines in linksSometimes, you look at the links and the underline in it just makes it anonying. So if you would like to get rid of the underline and add a better look to your page, just use this attribute:
style="text-decoration: none;"
If just tell the browser that there shouldn't be any decorations to the linking text (the underline is considered a text decoration). It would look something like this if you use it in the <a> tag:
<a href="http://www.mysite101.com" style="text-decoration: none;">MySite101</a>
It is just that simple to do that. Other than getting rid of the underline, the text-decoration attribute can do much more. We will show you some examples and features below:
Underline:
<a href="http://www.mysite101.com" style="text-decoration: underline;">MySite101</a>
Underline and Overline:
<a href="http://www.mysite101.com" style="text-decoration: underline overline;">MySite101</a>
Overline:
<a href="http://www.mysite101.com" style="text-decoration: overline;">MySite101</a>
Line-through:
<a href="http://www.mysite101.com" style="text-decoration: line-through;">MySite101</a>
Blink (Netscape & Firefox only):
<a href="http://www.mysite101.com" style="text-decoration: blink;">MySite101</a>
|