Results 1 to 3 of 3

Thread: HTML anchor link?

  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML anchor link?

    I have a question, I am new to html, and we have a new website and I have had people looking at it. I was told by a guy that the subpages are not being indexed by google, because the links on the homepage are not anchor text.

    I am not sure what this forum policy is about posting websites so I will substitute our site name.

    The current link:
    <div id="servicesb"><a href="services.html" title="services"></a></div>

    Now the link on the page is a picture not text, is this what he is talking about by not being anchored, because it is obviously linked?

    Also does it matter that <a href="services.html"..... is not <example.com/services.html...??

    Thanks in advance,

    J

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Many sites that have images as links use text and indent it, example:
    HTML Code:
    <div id="servicesb"><a href="services.html" title="services">Services</a></div>
    Code:
    #servicesb a {
    text-indent: -9999px;
    }
    Then the text is there but it's way to the left so you can't see it unless you have a ten foot screen. This is good since some people use screen readers to view websites and the screen reader won't "see" your image link but it can read the text, no matter how far indented it is. I guess this is good for SEO but I'm not sure about Google since they do things differently from other search engines.

    In my opinion, this is not very semantic and I prefer to just have text instead of images. With a bit of styling you can probably accomplish what you have with images.

    Regarding your second question, it doesn't matter, as long as you specify the correct path.

    Good luck!
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    Feb 2009
    Posts
    23
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    or what you can do, you keep your links in images. But on the bottom of your site you add your links in text.

    You see that on many sites, and i don't think it will make your design awful.

    Maybe this can help you...

Tags for this Thread

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
  •