Why HTML is not a programming language? | SoloLearn: Learn to code for FREE!

+89

Why HTML is not a programming language?

explanation of programming language.

3/24/2018 12:58:12 PM

Shaikh Saif

27 Answers

New Answer

+131

Programming language have functional purposes. HTML, as a MARKUP LANGUAGE doesn't really "do " anything in the sense that a programming language does.HTML contains no programming logic. It doesn't have common conditional statements such as if/else. It can't evaluate expression or do any math. It doesn't handle events or carry out tasks. You can't declare variables and you can't write functions. It doesn't modify or manipulate date in any way. HTML can't take input and produce output.Think of it this way : You can't compute the sum of 2+2 in HTML ;This is because HTML is not a programming language.

+30

Markup language is only readable. Programming language is executable.

+20

Html is more like a “create things that people can see “and programming languages are more like”create things that people can interact with”

+11

HTML is markup language...

+8

Yes, good explaination😉

+8

And when you use HTML on its own you end up with static pages. You get to appreciate the difference that a programming language like JavaScript makes: fun & interactive web pages.

+6

Programming languages are used to create programs that can accept data, process it and then provide information. On the other hand HTML is a markup language solely used to display webpages.

+4

Because HTML is a Markup language and I think that JavaScript supports the script part.

+3

Ithink couse of thire is no spasify compailor

+3

because html is only text redactor , not program language, but html neded to use css, javascript and other scripts languages

+3

programming languages create PROGRAMS standalone and give machines instructions. HTML is just a language basically for Gui

+3

becaose HTML doesn't wont a spesial translater

+3

Let's take a quick trip down memory lane. In 1989 at CERN the idea of hypertext was concieved. The year is 1990 and the World Wide Web is now in full force with many broad implications being taken into account thus drastically changing the networking world. Once we understand HTTP we understand HTML and how it is a markup language.

+3

HTML is used for structural purposes on a web page, not functional ones. Programming languages have functional purposes. It does not work like programming language. That's why HTML is not a programming language.

+2

HTML is which provide to serve view to viewers that means writing a letter in ms office but mss office is build by programming lanuages.

+2

HTML program is so easy and understandable ,every clever person can learn

+2

HTML program is so easy and understandable

+2

its a markup language

+1

good answer!

+1

basically, html does not do anything with mathematic logics, it's only a markup language