How to Remove Underlines from Links


Links are underlined my default to indicate that the text on the web page links to another page.

To remove this default behavior we have to use the text-decoration property and set the value to none like so

<html>
<a href=”somepage.html”>My Page LInk</a>
</html>

CSS to remove underline:

<style>
a {text-decoration: none;}
</style>

Comments

Check out

CSS Sprites | What are They?

Login form | Using CSS3

HTML5 Semantic Tags | What do they mean

Remove Scrollbars from syntaxhighlighter

Adding a button in HTML | styling a button

How CSS3 Works

HTML5 | LocalStorage

Advanced Jquery easing | Demo and Download

How to add Jquery easing effects | Jquery tutorial