Google Ignores Capitalization In HTML

Oct 30, 2020 - 7:31 am 2 by

Code Google Html

When you hand type HTML code, which I do in all these blog posts - yes, I am using something really old school but I like the control - sometimes you have typos in your HTML code. The most common typo I have is doing an a href tag but the A I capitalization because I need to press shift to trigger a < tag and right after that comes the A.

I always hate the way it looks to write a capital A in the href tag but I am always in a rush and I know it works either way, so I leave it.

But does it give Google any issues? The answer is no, Google expects these typos and since it works in a browser, it works for Google Search.

John Mueller of Google was asked about this on Twitter (see what I did there?) and he said "IMO capitalization in HTML attribute names is ignored (eg in XHTML they're often completely in caps)." He did add that it makes sense to do it lowercase and be consistent but hey.

Here is John's tweet:

I can probably do a quick find and replace on this syntax and fix all my uppercase As in the a hrefs...

Forum discussion at Twitter.


Popular Categories

The Pulse of the search community


Search Video Recaps

Google Volatility, Indexing Bugs, Google Ads Broad Match Default &amp; YouTube SEO Tips - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: July 12, 2024

Jul 12, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Volatility, Indexing Bugs, Google Ads Broad Match Default & YouTube SEO Tips

Jul 12, 2024 - 8:01 am
Google Maps

Remove Thumbtack Book Links In Google Business Profiles

Jul 12, 2024 - 7:51 am
Google Search Engine Optimization

New: Google Search Console Let's You Add Your Shipping & Return Information

Jul 12, 2024 - 7:41 am

Google Search Tests Autoplaying Video Thumbnails In Results?

Jul 12, 2024 - 7:31 am
Bing Search

Bing Search Tests Voting On Search Results

Jul 12, 2024 - 7:21 am
Previous Story: Google Search Algorithm Update On October 28th?