WebDevelopersNotes logo

home-icon Home / Did You Know? / HTML is not a programming language

HTML is not a programming language

But that doesn’t seem correct. The “L” in HTML stands for “language”, right? Yes! HTML is a computer language. However, it is NOT a programming language.

What’s the difference? Glad you asked.

What is HTML actually?

HTML stands for HyperText Markup Language. It’s primary function is to provide structure to text through markup. Thus, text can be specified as paragraph (<p> tag), a heading (<h1> to <h6>), list and list element (<ul>, <ol> and <li>) and so on.

Sponsored Links

You can, thus, take any text document, add structure to it using valid HTML tags and, voila, you have an HTML document.

However, there are no elements of programming in HTML. Variables, loops, conditional statements etc. which are the foundations of a programming language are all missing. HTML is used for creating web pages which are then rendered by web browser programs. Though there are strict rules of writing HTML, one can generally get away with shoddy code. Most budding web developers have gone through this phase – “if it’s working on my browser, my HTML is correct”.

On a related note, interactive web pages, the ones that respond immediately to user actions, are created using an actual programming language. The most popular of these is JavaScript which runs on the web browser program. Server-side languages like, PHP, Python, Perl etc. run on web servers.

Sponsored Links

Your comments
Star icon IMPORTANT Have a question / problem? Click here to ask an expert.

Sponsored Links


How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]


The popular Times New Roman typeface is actually quite old having been designed in 1931. The Times newspaper commissioned typographer Stanley Morison after he publicly criticised the newspaper for the poor quality of its printing. The work was carried out by Victor Lardent under the direction of Morison. Times New Roman font became extremely popular when it was included on Microsoft Windows and became one of the core fonts for the Web. It is now one of the most used fonts in history. And at 14 point, it has become the U.S. State Department's standard typeface. [more...]

We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy