Mobile app version of vmapp.org
Login or Join
Nimeshi995

: Do search engines care about case sensitivity of HTML tags and JavaScript functions? Which is better for SEO ? HTML <p id="hello"></p> <p id="HELLO"></p> <p id="Hello"></p>

@Nimeshi995

Posted in: #CaseSensitive #Javascript #Seo #Tags #Xhtml

Which is better for SEO ?

HTML


<p id="hello"></p>
<p id="HELLO"></p>
<p id="Hello"></p>
<p id="hELLO"></p>


JAVASCRIPT


function hello(){}
function HELLO(){}
function Hello(){}
function hELLO(){}

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi995

2 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

Case sensitivity doesn't matter for SEO. HTML, when used properly, does offer search engines clues about the content of a page but whether those tags and their attributes are capitalized or not is irrelevant. (Although it may matter for validating your HTML depending on the Doctype you choose).

Most search engines don't read JavaScript so that point may be moot. But even if they did the case of function names are also irrelevant.

10% popularity Vote Up Vote Down


 

@Steve110

It most likely doesn't matter at all.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme