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. What image attribute should carry "anchor text" for internal linking

    What image attribute should carry "anchor text" for internal linking

    On-Page / Site Optimization
    3 3 536
    • 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.
    • k3nn3dy3
      k3nn3dy3 last edited by

      Newbie question: an internal link generally should carry keyword anchor text, so if the link is actually an image, what image attribute should contain the equivalent of the anchor text

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

        Hey,

        The alt text is generally considered to be the most important attribute for SEO purposes. In HTML it might look something like this:

        <a href<="" span="">="http://www.mywebsite.com/subpage">alt="Anchor Text Goes Here" src="http://mywebsite.com/images/sample-image.gif" ></a>

        There are also other factors to think about, such as the name of the file and the text in the page around the image - but the alt is what the crawlers read to determine what the image is a picture of.

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

          In addition to David's comment, it also can't hurt to use the title attribute of the anchor tag itself, eg:

          Some Widget

          We use title attributes extensively in our site(s) for alternate and/or more verbose phrasings of keywords.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • When trying to sculpt an internal link structure, is there any point in placing text links to top level pages that are already in the main menu?
            bittristo
            bittristo
            0
            5
            51

          • Is this still considered true about INTERNAL anchor text? "Penguin seems to be targeting overly aggressive anchor text (both internally and externally), especially from low-quality sources."
            MarieHaynes
            MarieHaynes
            0
            8
            191

          • Internal link text
            strokesinteriors
            strokesinteriors
            1
            4
            65

          • Question Re Cornerestone Page And Anchor Text For Internal/External Links
            Chris.Menke
            Chris.Menke
            0
            6
            108

          • Anchor Texts on Internal Links on my Site Question
            Dan-Petrovic
            Dan-Petrovic
            0
            2
            604

          • Does link text "more information" have more weight than a normal link?
            Alex-Harford
            Alex-Harford
            0
            2
            661

          • Image alt attribute vs. plain text in link?
            DonnieCooper
            DonnieCooper
            0
            8
            1.9k

          • How long should anchor text be? Best practice for anchor text length?
            RyanKent
            RyanKent
            0
            6
            7.3k

          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