SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    Cincinnati, OH
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Basic HTML Question

    What's the difference between a <A href=""> tag and a <A title="" tag? I'm looking to create anchor text links the search engines will recognize and credit to my sites.

    In the web creation program I'm using (XSitePro), I just discovered that a small change in using the program gave me a bunch of "title tags" instead of the <A href=""> tag that I expected to create.

    So, how are these two tags different? More importantly, do I need to go back and change all of them (there are a bunch) to the <A href=""> tag to achieve my objective or does it matter?

    Thanks for your help.

  2. #2
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    The href attribute means: Hypertext REFerence, whereas title provides additonal (not necessarily crucial and also not limited to the <a>) information concerning the content nested in an HTML tag.

    The two are, while both being HTML attributes, are very different from one another.

    As for your objective, if you have anchors (<a>'s), then yes you should change them because without the href="" they simply won't work.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    Cincinnati, OH
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I appreciate your help.


Bookmarks

Posting Permissions

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