Whether HTML is a case sensitive or not is a general question asked in Web development interviews and the computer science MSQS.
If you are looking for the exact answer, keep reading a deep study done by one of our expert Programmers.
The correct answer to this question is:
HTML is a Case Sensitive or Not?
HTML is NOT a case sensitive language.
But if you are looking for a real reason why HTML is not a programming language, keep reading this blog.
What is HTML?
HTML stands for Hyper Text Markup language. One of the core technology to build the basic structure of a website. No matter how complicated and big a website you want to develop. You always start with HTML language.
Learning Case Sensitive Problem with the help of an Example
Human tends to learn better through example. Here is a real-life example that will help you to understand better.
As you can see, I have created the basic structure of an HTML document. The basic structure of an HTML page is also known as a Boilerplate.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href="css/style.css"> </head> <body> <h1>HTML is a Case Sensitive or Not?</h1> </body> </html>
The output will look like this:
Now, I am going to use some case sensitive words in HTML Tags. Does it affect the output?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title></title> </head> <BODY> <H1> HTML is a Case Sensitive or Not?</h1> </BODY> </html>