Why HTML is not a programming language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 93

Why HTML is not a programming language?

explanation of programming language.

24th Mar 2018, 12:58 PM
Shaikh Saif
Shaikh Saif - avatar
28 Answers
+ 137
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.
24th Mar 2018, 1:13 PM
Shaikh Saif
Shaikh Saif - avatar
+ 32
Markup language is only readable. Programming language is executable.
24th Mar 2018, 3:44 PM
Toni Isotalo
Toni Isotalo - avatar
+ 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”
25th Mar 2018, 11:16 PM
TheLuckystar10
TheLuckystar10 - avatar
+ 11
HTML is markup language...
21st Apr 2018, 3:22 PM
Sadaam Linux
Sadaam Linux - avatar
+ 8
Yes, good explaination😉
24th Mar 2018, 1:14 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 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.
2nd Apr 2018, 10:17 PM
G.T.T
G.T.T - avatar
+ 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.
2nd Apr 2018, 6:59 PM
Shreyash Pandey
Shreyash Pandey - avatar
+ 6
markup language is telling the web browser that how a web page look like . its just an instruction for the browser . browser identified the tags and render the final output (website )
30th Apr 2018, 5:26 AM
Joobin Jacob ◆ ܝܘܼܒܝܼܢ ܝܹܩܲܒ ◆‎
+ 5
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.
8th Aug 2020, 5:52 AM
Sakshi💕
Sakshi💕 - avatar
+ 4
Because HTML is a Markup language and I think that JavaScript supports the script part.
24th Apr 2018, 3:28 AM
JTLZ
+ 3
Ithink couse of thire is no spasify compailor
3rd Apr 2018, 7:28 AM
محمد يحيى بابكر بخاري
محمد يحيى بابكر بخاري - avatar
+ 3
because html is only text redactor , not program language, but html neded to use css, javascript and other scripts languages
4th Apr 2018, 2:51 AM
Шанаурин Сергей Валерьевич
Шанаурин Сергей Валерьевич - avatar
+ 3
programming languages create PROGRAMS standalone and give machines instructions. HTML is just a language basically for Gui
21st Apr 2018, 9:51 PM
Richard Cofie
Richard Cofie - avatar
+ 3
becaose HTML doesn't wont a spesial translater
24th Apr 2018, 5:17 AM
‎عباس التركماني‎
‎عباس التركماني‎ - avatar
+ 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.
25th Apr 2018, 7:33 PM
TB Smith
TB Smith - avatar
+ 2
HTML program is so easy and understandable ,every clever person can learn
19th Apr 2018, 11:26 AM
Abdusamad
Abdusamad - avatar
+ 2
HTML program is so easy and understandable
19th Apr 2018, 5:31 PM
Pau Búrria
+ 2
its a markup language
20th Apr 2018, 8:37 PM
Rui Pedro Leocádio Borges
Rui Pedro Leocádio Borges - avatar
+ 1
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.
25th Mar 2018, 4:07 PM
Amd Munazzil
Amd Munazzil - avatar
+ 1
good answer!
24th Apr 2018, 1:21 AM
Farhan Rao
Farhan Rao - avatar