+34

HTML is not a case sensitive language, why?

3/18/2019 6:11:59 PM

Rajveer Singh

27 Answers

New Answer

+42

Although often referred to as programming language, HTML is no more than markup language for text in a text document.

+29

Does not matter, instead of programming you do coding.

+18

// https://stackoverflow.com/questions/4351857/is-html-case-sensitive

+12

Jerry you need to specify what you mean by sensitive: case sensitive, sensitive to the browser parsing it, other??

+10

Html is just a markup language it is not not a programming nor scripting language

+9

I guess web browser makes the html not sensitive for compability reasons.

+9

Basically Html was created for text structure in documents and it is not sensitive because it need to be compatible with browser so has other markup language instead of programming you code and it is display there right on the browser...

+9

Html is a markup language and it doesnt need to be case sensitive as some other complex programming language

+9

First thing is html is not a programming language 😂. It is a mark-up language so it doesn't need to be case sensitive . 😊

+8

Hi Jerry, html is realy a mark up language for text formating. Although it can invoke scriptfiles which are affectively programs. At least the web browser knows how to run the scripts.

+8

Monical Sometimes we need to understand things in depth. The little things matter.

+8

The answer to this question can be so simple. Html is not case sensitive because its not a programming language. Just like CSS. Mind you, all programming languages are sensitive most especially languages like C and languages largely based on it.

+6

Hi, Jerry! The HTML needs to be most compatible as possible, to be read on any browse. So, as like the HTML is not a programming language and just a markup language, threre's no need to have variables and functions, wich mean you can't create dynamic context, possibiliting to take advantage over "no problem with caps variables and functions names". Following this logic, there are more flexibility on the way that HTML works, allied to necessity to be most readable as possible, same on the caps variation.

+6

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.

+5

It is a markup language

+4

why does it matter?

+4

yes html is not sensitive markup language as xml and xml have container tag only but html doesnt have both container and empty tag like <br>, so you cant compare as html is an errorless language because web browser doesnt made like xml parser.unlike xml give error on little mistake

+4

Tags and attributes name are case insensitive while it values are case sensitive. Html is not a case sensitive language.

+3

Because it is too oooo easy to learn

+3

It's not a sensitive case, because the first browsers created their own standards and when HTML finally organized and regularized, the new browsers had to make a smooth transition in the code that was not so painful, the browser now strives to show what you type.