www.webdeveloper.com
Results 1 to 3 of 3

Thread: non-underlined links

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    non-underlined links

    Hi everyone.
    I'm a newbie here, hope my question isn't toooo simple!

    Well it is I guess, but its been bugging me a lot. I'm writing simple html, no css or anything. How do I make my text links appear without an underline? I've seen it on sites, but when I look at their sourcecode, I can't see anything obvious. Maybe its actually really difficult?

    Thanks in advance...
    FP

  2. #2
    Join Date
    Nov 2004
    Location
    City of Angels
    Posts
    82
    Not sure how this can be done WITHOUT CSS. You can put the CSS in the <style> tag within an html file. Give this a try:

    <style type="text/css">
    <!--
    a {text-decoration: none;}
    -->
    </style>

    Put that inside the head and I think it should work.

    Edit:

    I should be telling you to get in the habit of linking your CSS to your HTML file, it is more practical. You would do that by making a new .css file. Put

    a {text-decoration: none;}

    and in your HTML file put

    <link rel="stylesheet" type="text/css" href="PATH_TO_FILE.css" >

    That should be put inside the <head> tag. Don't begin a bad habit 8]
    Last edited by ForeverIrise; 10-06-2005 at 04:36 AM.

  3. #3
    Join Date
    Jun 2004
    Location
    4846′36″ N 910′48″ E
    Posts
    3,747
    here you might want to learn some basic css
    http://www.w3schools.com/css/default.asp

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles