Remove underline from a href link

Solved/Closed
Hello,
I would like to know how to make my link not underlined when I use an href.

Thank you
Configuration: Windows XP Internet Explorer 6.0

11 answers

  • Votes
  • Date
  • Descending date
  1. Moderator
    Hello.

    CSS is enough.
    You need to put this between the head tags of your page:
    <style type="text/css">a:link{text-decoration:none}</style>
    --
    Sylvain
    "Join us now, and share the software. You'll be Free, hackers."
    1. super Thank you very much!
    2. I was looking for the same thing (removing the blue underline under links in HTML) but without CSS (the issue only occurred in Firefox)
      Well, I simply did it like this:
      <font color="color1"> <a href="link"> <font color="color1"><u><text></u></font></a></font>
      Don't forget to underline with <u>
      It may be a bit gross, but I’m not a coder, I’m a 3D designer and this is the only solution I found without using CSS.
      I didn't even find it online, which is why I'm posting it.
    3. HappyBlueFrog, I think there's a "cleaner" method without using CSS:

      Like this code:
      <a href="link" style="color:color1;text-decoration:none;">text</a>

      :)
    4. Ha Bha yes, it's definitely cleaner ^_^'
      Thank you for this response! :)
      And for not just tearing me apart like on other forums >_<
    5. Boah... both are CSS
      Both methods work.
      But the cleanest way, as you say, is a separate style sheet... In which we define the CSS properties for the link...
      After that, you do as you wish.
      Even if it's the basics.