Hi there folks! Please could anyone tell me how I can display a hyperlink without its customary underline? It must be pretty simple but I could not get a hang of it.

Thanks for the help!:cheesy:

Member Avatar for GreenDay2001

CSS would help....

<html>

<head>
  <title></title>
  <style type="text/css">
    a#link
    {
        text-decoration: none;
    }

  </style>
</head>

<body>
     <a href="http://google.com" id="link">Google</a>
</body>

</html>

thank you very much. I'll try it in a moment, You are the champ!
:D

another way - straight in the HTML code - would be to add the following as an <a> - parameter.

style="text-decoration:none"

hope this helped
pygmalion

Yes! both approaches worked! thanks:lol:

Yes! both approaches worked! thanks:lol:

To Disabling the underline of a hyperlink

<style type="text/css">
<!--
.w {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
}
-->
</style>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.