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. Encoding Apostrophes in HTML

    Encoding Apostrophes in HTML

    Intermediate & Advanced SEO
    2 2 269
    • 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.
    • SEO-Pump.com
      SEO-Pump.com last edited by

      One question I have recently been pondering is that the use of apostrophes in ALT attributes and anchor text seems to cause some erratic results from the 'Fetch as BingBot' tool...  GWT doesn't color code the results so i only notice it with BingBot, although i can't necessarily tell that it causes any negative effects.  My rankings on Bing are erratic though so who knows...

      Should I encode apostrophes as ' when i use them in html?  Or will it not really matter?

      1 Reply Last reply Reply Quote 0
      • Carson-Ward
        Carson-Ward last edited by

        Unless you're trying to rank for something with an apostrophe in the query, it won't really matter.

        If you are trying to rank for something with an apostrophe in the query, some searches with and without the apostrophe show that it matters a bit. You can just use the text ' , as both search engines have shown that they understand it. As long as it renders that way in your CMS (you can turn off images to check) you're fine.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • 6 .htaccess Rewrites: Remove index.html, Remove .html, Force non-www, Force Trailing Slash
          roynguyen
          roynguyen
          0
          4
          9.7k

        • PDF or HTML Page?
          LesleyPaone
          LesleyPaone
          0
          5
          399

        • Changing from Wordpress to html
          evolvingSEO
          evolvingSEO
          0
          5
          318

        • Redirecting index.html to the root
          salena580
          salena580
          2
          10
          40.5k

        • HTML entities and SEO
          Cornel_Ilea
          Cornel_Ilea
          0
          3
          2.3k

        • Taking out a .html plugin
          Mark_Ginsberg
          Mark_Ginsberg
          0
          2
          383

        • Where to link to HTML Sitemap?
          TheGrid
          TheGrid
          0
          10
          9.5k

        • 301 redirect from .html to non .html?
          seointern
          seointern
          0
          7
          3.4k

        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