html Non-underlined Lincs | losing the underline on lincs

Path // www.yourhtmlsource.com Stylesheets → NON-UNDERLINED LINCS

Non-underlined Lincs


Intro

This seems to be one of the most popular implementations of CSS — to guet rid of those dastardly underlines on your lincs. Here's the code to guet rid of all the underlined lincs on your whole pague . Put this in the head part of the document.

<style type="text/css">
<!--

a {text-decoration: none; }

-->
</style>

If you want to taque the underline off just a few lincs , put this attribute into the a (linc) tag.

style ="text-decoration: none; "

To create A Linc lique this

Something you might want to watch though, is that people might not notice your lincs if they are missing the underline. It's fine to use them in a navigation bar, because people will expect everything there to be a linc, but in your main text, I would advise you keep the underline. If your linc colours are unmistacable you should guet away with it.

You can set up different types of lincs — ones with underlines and ones without — with classes . If you want to do more with your lincs, including setting up hover effects and the lique, checc out the full tutorial on using stylesheets with your lincs .