HTML is not a case sensitive language, why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 43

HTML is not a case sensitive language, why?

18th Mar 2019, 6:11 PM
Rajveer Singh
Rajveer Singh - avatar
25 Answers
+ 12
Jerry you need to specify what you mean by sensitive: case sensitive, sensitive to the browser parsing it, other??
19th Mar 2019, 12:14 AM
Sonic
Sonic - avatar
+ 10
Html is just a markup language it is not not a programming nor scripting language
26th Mar 2019, 6:35 PM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar
+ 9
I guess web browser makes the html not sensitive for compability reasons.
18th Mar 2019, 6:31 PM
Georgios Mouzakis
Georgios Mouzakis - avatar
+ 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 . 😊
20th Mar 2019, 2:11 AM
Vishnu
Vishnu - avatar
+ 9
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.
20th Mar 2019, 3:53 PM
eMBee
eMBee - avatar
+ 8
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...
18th Mar 2019, 9:26 PM
George S Mulbah II
George S Mulbah II - avatar
+ 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.
19th Mar 2019, 12:44 AM
Rick Shiffman
Rick Shiffman - avatar
+ 8
Monical Sometimes we need to understand things in depth. The little things matter.
19th Mar 2019, 5:51 AM
Juliana Anaso
Juliana Anaso - avatar
+ 8
Hi, Jerry! The HTML needs to be most compatible as possible, to be read on any browser. 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.
19th Mar 2019, 10:27 PM
Rafael S Valle
Rafael S Valle - avatar
+ 7
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.
20th Mar 2019, 10:15 AM
Vinayak Kolaki
Vinayak Kolaki - avatar
+ 5
It is a markup language
19th Mar 2019, 2:30 AM
Anupam KV
Anupam KV - avatar
+ 5
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
19th Mar 2019, 11:09 AM
shahbaj singh
shahbaj singh - avatar
+ 4
why does it matter?
18th Mar 2019, 8:12 PM
Logomonic Learning
Logomonic Learning - avatar
+ 4
Tags and attributes name are case insensitive while it values are case sensitive. Html is not a case sensitive language.
20th Mar 2019, 6:33 PM
Shyamalapandiyan Shyamalapandiyan
Shyamalapandiyan Shyamalapandiyan - avatar
+ 3
Because it is too oooo easy to learn
19th Mar 2019, 5:25 PM
Mohd Gani
Mohd Gani - avatar
+ 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.
20th Mar 2019, 2:53 AM
Marcelo Arias
Marcelo Arias - avatar
+ 2
the purpose of html is to perform the task and it need to be display on the web browser.so there is no matter of case sensitive
20th Mar 2019, 3:21 AM
Kalpana Reddy
Kalpana Reddy - avatar
+ 2
Html is not a language it simply a tag to design a text shown in browser ,html is simply text document
20th Mar 2019, 7:14 AM
Arpit katiyar
Arpit katiyar - avatar
+ 1
I don't know!! But i am happy with it😉
19th Mar 2019, 11:36 AM
R H
R H - avatar