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. On-Page / Site Optimization
    4. Anchor Tag around a Div

    Anchor Tag around a Div

    On-Page / Site Optimization
    3 2 1.0k
    • 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.
    • Vspeed
      Vspeed last edited by

      Just Curious if this is an SEO No-No!

      I have set up the box to do some cool SEO transitions but am curious if I am loosing on a signifigant amount of internal linking considering anchor text or if Google recognizes the h2 as anchor text. Thanks.

      [important phrase

      Article Title

      Article Synopsis Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.](internal-page.html)

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

        Hi there

        Usually you would put the <a>within the</a>

        <a>or give the</a> <a>a class - I am pretty sure that</a> this is not valid. I am assuming you're trying to make the <a>behave like a</a><a>??

        Here's a</a> Stack Overflow discussion on the issue. You can also consider using . From first look, this will consider everything with the <a>tags to be a link.

        UPDATE: I am finding that</a> apparently this is possible in HTML5.

        Let me know if this answers your question - hope this helps! Good luck!

        Vspeed 1 Reply Last reply Reply Quote 2
        • Vspeed
          Vspeed @PatrickDelehanty last edited by

          Hey thanks for commenting. I know that this is a valid method to code, but I am curious about the SEO effect. This is a new feature in HTML5 and I am curious if anyone has done any research to see whether Google is keeping up with this changing landscape and giving anchor-text-benefit to anything linked by the method in the original post. OR is no anchor text being detected.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Hi - How do you get rid of duplicate content that was accidentally created on a tag url? For example, when I published a new article, the content was duplicated on: /posts/tag/lead-generation/
            MikeRoberts
            MikeRoberts
            0
            4
            82

          • Is it OK to include name of your town to the title tag or H1 tag on a blog to enhance local search results
            wianno168
            wianno168
            0
            5
            237

          • My company's product is referred to by two different names (SVN and Subversion). When cleaning up our Title tags, is it OK to use either name to keep the title tags around 70 characters?
            johnny122
            johnny122
            0
            2
            168

          • Rel canonical tag back to the same page the tag is on?
            Dr-Pete
            Dr-Pete
            0
            7
            7.1k

          • Does Title Tag have to be in the HEAD tag?
            Horizon
            Horizon
            0
            3
            669

          • To enter keyword meta tags or to not enter keyword meta tags?
            Ant71
            Ant71
            0
            10
            1.5k

          • Summary of Anchor Text and Hash Tags
            Cyrus-Shepard
            Cyrus-Shepard
            0
            2
            1.2k

          • Same anchor text
            oznappies
            oznappies
            0
            9
            907

          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