PDA

View Full Version : Is HTML case-sensitive or case-insensitive?



akshaypandit
08-12-2019, 03:11 AM
Is HTML case-sensitive or case-insensitive?

PrimeItSolution
08-13-2019, 12:02 AM
CSS is case insensitive in all matters under its control; however, some things, such as the document markup language, are beyond its control. HTML is case insensitive in most respects, except when it comes to certain attribute values, like the id and class attributes. XHTML, being XML, is always case sensitive.

dennis123
08-13-2019, 12:54 AM
Hi Friends,
XHTML , that is being XML is case sensitive. Generally, HTML is case-insensitive, but there are a few exceptions. Entity names (the things that follow ampersands) are case-senstive, but many browsers will accept many of them entirely in uppercase or entirely in lowercase; a few must be cased in particular ways.

pssabarish
08-13-2019, 09:21 AM
XML is case sensitive. Generally, HTML is case-insensitive, but there are a few exceptions. Entity names (the things that follow ampersands) are case-senstive, but many browsers will accept many of them entirely in uppercase or entirely in lowercase; a few must be cased in particular ways.

yuva12
08-13-2019, 09:26 AM
Nope.

You can use <html> or <HTML>,both are same only. I generally prefer <html>.

Sherin
12-27-2020, 10:27 PM
The html syntax is case-insensitive because you can write a mixed letter with uppercase and lowercase.

Propertyseo2020
12-27-2020, 11:40 PM
HTML is not a case sensitive language. But generally HTML coding is written in lower case so it is better to use in lower case. Otherwise no issue whether we use lowercase or uppercase.

makoo
12-28-2020, 12:56 AM
Generally, HTML is case-insensitive, but there are a few exceptions. Entity names (the things that follow ampersands) are case-senstive, but many browsers will accept many of them entirely in uppercase or entirely in lowercase; a few must be cased in particular ways.