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. tags inside <a>tags - is this bad?</a>

    tags inside <a>tags - is this bad?</a>

    Intermediate & Advanced SEO
    5 5 6.9k
    • 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.
    • mjk26
      mjk26 last edited by

      Hi,

      I'm currently redesigning my website, and in many places, I've now decided to make links a little bit more obvious for the user, using tags within a <a>tag in order to make the entire block of text clickable.  I was just wondering if this could have a negative impact in the search engines.  My gut feeling is no, since I'm actually improving usability, but I guess it could have an impact on how Google looks at the anchor text?  An example of the HTML is as follows: </a>

      <a></a>

      <a></a>

      [Cristal Night Club Hotels

      <address>1045 5th Street
      Miami Beach, FL33139</address>

      6.4 miles from Miami Dade County Auditorium](http://localhost:8080/frontend/venue-hotels/cristal-night-club-hotels/301022 "Hotels near Cristal Night Club")

      Thanks for your thoughts and comments,

      Best wishes

      Mike

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        I have never seen an instance where a span tag has had any negative effect on SEO as it is just a standard HTML element.

        OK, perhaps some favour a style sheet, but raw code on the page is still more than acceptable.

        Andy

        1 Reply Last reply Reply Quote 1
        • donford
          donford last edited by

          Hi Mike,

          In general there is not many negatives to using html / css styling. The exceptions being when you are purposely hiding text, from users. Example: white text on a white background.

          Specifically in the case you asked about, I have never heard, seen, or otherwise caught a whiff of this being a bad thing, rather it is more of an accepted reality.

          Hope that helps,

          Don

          1 Reply Last reply Reply Quote 1
          • john4math
            john4math last edited by

            <spans>are all over the web, and used in lots of different situations.  It shouldn't adverse affect your rankings.</spans>

            That being said, going over your site and adding s into all your <a>s doesn't sound like fun... and after all you may want to change it again down the road.  You can't accomplish something similar with CSS?  I think styling your</a> <a>s with "display:block;" should accomplish the same thing as adding this to all your</a> <a>s?</a>

            CMC-SD 1 Reply Last reply Reply Quote 2
            • CMC-SD
              CMC-SD @john4math last edited by

              Totally agree. Add a class to those <a>s and style that.</a>

              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

              • How to stagger <h>tags?</h>
                TaylorRHawkins
                TaylorRHawkins
                2
                3
                108

              • If I nofollow outbound external links to minimize link juice loss > is it a good/bad thing?
                Andy.Drinkwater
                Andy.Drinkwater
                0
                10
                7.6k

              • SITEMAP - Does <changefreq>and <image:title>have any apreciable effect?</image:title></changefreq>
                Shawn_Huber
                Shawn_Huber
                0
                4
                2.7k

              • <aside>Tag Use</aside>
                donford
                donford
                1
                4
                900

              • If a website Uses <select>to dropdown some choices, will Google see every option as Content Or Hyperlink?</select>
                evolvingSEO
                evolvingSEO
                0
                4
                1.3k

              • <rel canonical="">and Query Strings</rel>
                RyanKent
                RyanKent
                0
                2
                1.6k

              • What <h>Tag to Use For Global Navigation</h>
                perfectweb
                perfectweb
                0
                3
                2.2k

              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