+ 5

Why HTML is not a programming language?

Why HTML is not a programming language?

12th Jun 2020, 8:46 AM
Bibhash Ghosh
Bibhash Ghosh - avatar
23 Réponses
+ 5
HTML is used for structural purposes on a web page, not functional ones. Programming languages have functional purposes. HTML, as a markup language doesn't really “do” anything in the sense that a programming language does. ... This is because HTML is not a programming language.
14th Jun 2020, 8:47 AM
Suhasini Tadikonda
Suhasini Tadikonda - avatar
+ 22
Bibhash Ghosh Hypertext Markup Language (HTML) is not a programming language because it does not contain control operators.
12th Jun 2020, 8:52 AM
💕₽ΔŘI💕
💕₽ΔŘI💕 - avatar
+ 16
It depends on your definition of a programming language. Many people think of programming to exclusively apply to imperative programming. However, I contend that HTML is actually a declarative (domain specific) programming language. See my reasoning in these other posts: https://www.sololearn.com/post/418932/?ref=app https://www.sololearn.com/post/141278/?ref=app
12th Jun 2020, 10:01 AM
David Carroll
David Carroll - avatar
+ 9
This is debatable, but markup language is not considered to be a programming language simply because the term is not well-defined. A markup language is used to control the presentation of the data, like representing structured data. For example, HTML is used to specify that some part of a document is a title, another part is a list, another part is heading etc. So, based off of that, a markup language is used to describe the data and the formatting in a textual format. There is a general rule, that a markup. language will not describe a process or an algorithm (like programming language does) but is just pure data.
13th Jun 2020, 2:53 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
narayanaprasad The article is mistakenly limiting the scope of programming languages to only one subset that resembles that of imperative languages. However, programming languages are a superset of many paradigms. HTML is a declarative domain specific programming language. This doesn't mean it's general purpose, imperative, or turing complete. HTML, in its limited form as a programming language, instructs the browser to load the DOM such that it reflects the hierarchical tree structure of nodes in memory. HTML declares what to load, not how to do it. ---- I find the debate in the comments link quite interesting as I completely agree with the computer scientist who explains why HTML is a programming language. https://ischool.syr.edu/infospace/2012/04/05/why-html-is-not-a-programming-language/#comment-4216 I highly encourage people to read the back and forth of that thread. I will try to read through to the end this weekend. But, that guy and I share the same thoughts on this.
13th Jun 2020, 7:32 AM
David Carroll
David Carroll - avatar
+ 3
It is a declarative programming language imo. This means that unlike other imperative languages. It defines what to do and not how to do it. https://www.smashingmagazine.com/2014/07/declarative-programming/
12th Jun 2020, 9:18 AM
Ore
Ore - avatar
+ 3
You may find answer in :- 1) https://ischool.syr.edu/infospace/2012/04/05/why-html-is-not-a-programming-language/ 2) Hypertext Markup Language(HTML), is not a programming language, because it does not contain, control operators.
13th Jun 2020, 6:49 AM
narayanaprasad
narayanaprasad - avatar
+ 3
David Caroll: Thank You for update.
13th Jun 2020, 7:36 AM
narayanaprasad
narayanaprasad - avatar
+ 2
It is not a programming language because it does not have operator s and is a web creation
14th Jun 2020, 6:40 AM
Devarinti.Venumadav
Devarinti.Venumadav - avatar
+ 2
I suggest you all to check the link given by David Carroll . I believe HTML is a markup language which is a subset of programming languages. In order words it is domain-specific (used just for markup). Other domain-specific languages include MATLAB and SQL. Both MATLAB and SQL are in the TIOBE index of programming languages. Also some people in this thread argue that HTML does not perform logic. From the Oxford dictionary. Logic as used in computing is ``` a system or set of principles underlying the arrangements of elements in a computer or electronic device so as to perform a specified task ``` Do you still think HTML does not perform logic? If so I advise you complete the HTML tutorial before coming here
14th Jun 2020, 10:53 AM
Ore
Ore - avatar
+ 1
html is technically not a programming language because it's not scripted
13th Jun 2020, 2:40 PM
Omobolaji Adex
Omobolaji Adex - avatar
+ 1
HTML, CSS, JS are languages that are used for creating websites, So that HTML is called Hyper Text Markup Language, but if u r looking for programming language u can use C, C++, C#, Python3, and more, Thanks For Question!
29th Oct 2020, 5:27 AM
イデリセ{非活性}
イデリセ{非活性} - avatar
0
Think about Html like the Skeleton, Css the skin and javascript the muscles. Html is just a xml standardized dataformat which the browsers can interpret and generate a domtree out of it. Programming languages are capable of actual doing something. Saying i code in html is like saying i write json programs , which is just a really good format for data structure, but nothing more on its own. Better example for nonexperienced users. Excelsheets(file) are saved data. Excel(-parser) can read it. Then Excel(program) interprets it and shows the interpreted file. If you modify the file inside of excel and save it, the file gets modified. The same priciple applies if you append/modify/.. a html element with javascript.
13th Jun 2020, 12:22 AM
Chris
0
Cause it was replaced by an app real languages aren't
13th Jun 2020, 7:03 PM
Reyan
Reyan - avatar
0
Because, we don't do problems, when we write on HTML.
13th Jun 2020, 8:37 PM
Лукшин Дмитрий
Лукшин Дмитрий - avatar
0
Hypertext Markup Language (HTML) is not a programming language because it does not contain control operators. As such, one cannot encode logical
13th Jun 2020, 8:56 PM
Clay
Clay - avatar
0
Es un lenguaje de etiquetas
14th Jun 2020, 12:26 AM
Ronald Paredes
Ronald Paredes - avatar
0
Es un interpretador de etiquetas
14th Jun 2020, 4:35 AM
Rogelio Salazar
0
It's used for web page creation
14th Jun 2020, 4:52 AM
Aswin Manoj
Aswin Manoj - avatar