Google ignores capitalization in HTML tag attributes

Google’s John Mueller said on Twitter that Google ignores capitalization in HTML tag attributes. For example, some frameworks show a warning if the hrefLang is written in lowercase: hreflang. Google does not care about this:

You mean the capitalization? IMO capitalization in HTML attribute names is ignored (eg in XHTML they’re often completely in caps). Personally, I’d try to be consistent, but unless you’re using tools of your own that are super picky, it probably doesn’t matter.— Read the full article…Google’s John Mueller said on Twitter that Google ignores capitalization in HTML tag attributes. For example, some frameworks show a warning if the hrefLang is written in lowercase: hreflang. Google does not care about…Read MoreRanking – SEOprofiler Blog

Leave a Comment

Your email address will not be published.