The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Anchor Tag around Table / Block

    Anchor Tag around Table / Block

    Intermediate & Advanced SEO
    7 2 614
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Richline_Digital
      Richline_Digital last edited by

      Our homepage (here) has four large promotional sections taking up most of the real estate. Each promo section has an image and styled text.

      We want each promo section to link to the appropriate page, so we created the promo sections as and wrapped each

      in an anchor. That works fine for users but I tried viewing our site in a text-only browser (Lynx) and couldn't follow those links! My fear is that GoogleBot can't follow them either and doesn't know what anchor text to pull.

      So, my question: What's the best way to make this entire block clickable, but still have it crawlable by robots? Or is our current implementation ok?

      For reference, here's a simplified version of the relevant code block:

      •  

               

       

                 

               

       

      | |

      All Diamonds

      Extra 20% Off

      |

             

      • [| |

        Jessica Simspon

        Extra 20% Off

        |](http://jessicasimpson.jewelry.com/shop/)

             

      1 Reply Last reply Reply Quote 0
      • TakeshiYoung
        TakeshiYoung last edited by

        One solution would be to make each of the promo sections an image (like http://i.imgur.com/sA8DFYk.png), then make the image a link. You can then use css to float some text on top of the image, or if you don't care, just make the whole thing an image.  You could also separate out the product image from the grey background if you're feeling really nit picky.

        Richline_Digital 1 Reply Last reply Reply Quote 0
        • Richline_Digital
          Richline_Digital @TakeshiYoung last edited by

          Thanks for the reply, Takeshi! That's pretty much what we are doing, I think... Can you help me understand better?

          We are using CSS and a table structure to float the text and the CTA button on top of the image. Then the entire block is wrapped in an anchor so it's clickable. If only the image is inside the anchor, doesn't that mean the rest of the block won't click through to the destination?

          Would rather not make the whole thing an image because that hurts our text/image ratio and makes our homepage even less SEO-friendly. But we still want the entire area to go to the destination URL.

          TakeshiYoung Richline_Digital 4 Replies Last reply Reply Quote 0
          • TakeshiYoung
            TakeshiYoung @Richline_Digital last edited by

            Sure, here's some pseudo-code:

            • position:relative; z-index:50">

              Jessica Simspon

              Extra 20% Off

            Hope that clarifies things.

            1 Reply Last reply Reply Quote 1
            • Richline_Digital
              Richline_Digital @Richline_Digital last edited by

              Thank you! Last follow-up (promise): If we do it that way, there's no associated anchor text. But if we use alt-text on the image, that's less authoritative than the

              and

              tags we are using, plus it's duplicate content... Do you think that's a problem?

              1 Reply Last reply Reply Quote 0
              • TakeshiYoung
                TakeshiYoung @Richline_Digital last edited by

                I don't think it's that big of a problem, but if you really want anchor text, you could try this:  Use a javascript onclick event for the image instead of an anchor tag. Then turn the promotion title into a link:

                • onclick="javascript:location.href='link.html';">

                  Jessica Simspon

                  Extra 20% Off

                Or if you don't want to use javascript, you could have 2 links:

                • Jessica Simspon

                  Extra 20% Off

                  [

                  style="float:left; margin-top:-XXpx;

                  position:relative; z-index:-2">](link)

                   

                Hope that helps!

                1 Reply Last reply Reply Quote 1
                • Richline_Digital
                  Richline_Digital @Richline_Digital last edited by

                  Heck yes! Very grateful. Thank you!!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Looking for opinions on structuring meta title tags/page title/menu title/H1
                    ClaytonJ
                    ClaytonJ
                    1
                    4
                    185

                  • Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
                    Taiger
                    Taiger
                    0
                    3
                    446

                  • Should I use **tags or h1/h2 tags for article titles on my homepage**
                    blankslatedumbo
                    blankslatedumbo
                    0
                    6
                    1.9k

                  • H3 Tags - Should I Link to my content Articles- ? And do I have to many H3 tags/ Links as it is ?
                    PeteC12
                    PeteC12
                    0
                    3
                    607

                  • Https://www.mywebsite.com/blog/tag/wolf/ setting tag pages as blog corner stone article?
                    AlirezaHamidian
                    AlirezaHamidian
                    0
                    6
                    135

                  • Large scale change of incoming anchor text/alt tag image links
                    Cyrus-Shepard
                    Cyrus-Shepard
                    0
                    6
                    594

                  • Should I block wordpress archive and tag?
                    Akeif
                    Akeif
                    0
                    5
                    995

                  • tags inside <a>tags - is this bad?</a>
                    CMC-SD
                    CMC-SD
                    0
                    5
                    6.9k

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  • Digital Marketers
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy