Why HTML is not a programming Language?

Gollamudi Rohitha
2 min readJul 15, 2020

--

I think its really a good question, and many of us stuck with this.
HTML is not a programming language; it is a markup language.
The full form of HTML (Hypertext Markup Language) states that it is a Markup Language.

A Markup Language is a computer language that uses tags to define elements with in a document. It is human- readable, meaning it does not have the typical programming syntax and it does not contain any programming logic. These Markup Languages are designed for the processing, definition and presentation of text. HTML is called a ‘Markup Language’ because it allows user to organize the presentation and appearance of all the content on a web page. HTML is the first markup language introduced by “Tim Berners-Lee” in early 1900's. This HTML is used for creating web pages. The contents of each web page are defined by HTML tags. HTML is the code that is used to structure a web page and its content. Let’s see how actually the HTML code look like:

Basic HTML code

HTML , as a markup language doesn’t really do anything in the sense that a programming language does. It can’t do any math like evaluating expressions, computing the sum values of 4+4 in HTML. But don’t worry you’re still a coder with HTML. You’re writing lines of code in a markup language but not in programming language.This makes HTML a markup language.

--

--