+ 13

Why html is known as a markup language ? Not a programming language

18th Feb 2017, 2:37 PM
Athul Joy
Athul Joy - avatar
10 Respostas
+ 10
Programming languages give step by step instructions for a computer to follow, wheras HTML defines what a page is and how it is structured. HTML stands for HyperText Markup Language - it is more similar to XML (eXtensible Markup Language) than say Java or python. For example this is a dummy snippet of python: myVar = input() print(myVar + "was the input given") first line tells the computer to take an input from the user and store it for use later under the name myVar, and next - the second line it instructs the computer to display the contents of myVar along with "was the input given" heres a snippet of html: <h1>Web page title</h1> <p>first paragraph of exciting text</p> the <h1> means -this next bit is a heading, and </h1> means that after this we are no longer stating a heading, <p> is for we are now defining a paragraph and so on. Confusingly it is possible to have programming langauge code inside html - the script tag says that everything inside should be treated as some form of programming language or a scripting language and not as html (and you typically name the script language as an attribute of the script tag - script languages are​ a sub-type of programming langauge )
18th Feb 2017, 11:51 PM
Phil
Phil - avatar
+ 6
That's a good question??? :::Web Languages are::: !HTML!CSS!JAVA!PHP!SQL!jQuery! CSS___is used for Presentation of a webpage///website../ JavaScript___is used for show Behavior of a webpage.../ ///but/// HTML is used to show structure means content of the webpage..; <!--Therefore, HTML is a markup Language-->
18th Feb 2017, 2:57 PM
BBBB Ghh GgBB
+ 4
HTML doesn't execute anything, it just adds structure to it. A programming language has instructions that are executed
19th Feb 2017, 1:37 AM
Christopher Vagnetoft
Christopher Vagnetoft - avatar
+ 4
I think it is because it does not need any kind of definite spacing and also it does not need any compiler.
19th Feb 2017, 4:29 PM
Shreyas Sable
Shreyas Sable - avatar
+ 2
HTML does not need a compiler or interpreter. It marks up the media. whereas programming languages need the above
19th Feb 2017, 5:20 AM
Pragyansh Chaturvedi
Pragyansh Chaturvedi - avatar
+ 2
HTML is used to create only skeleton of any webpage ..so you can't say it programing language. you can't perform an addition through it....
27th Feb 2017, 6:27 AM
MD NOORULLAH RAZA
MD NOORULLAH RAZA - avatar
+ 1
it's alanguage that the browser could deal with it to show elments to user so it not doing any finction of programming and the programing in web is done with javascript in client side and with aserver side language as php ,asp.net,java or paython ... so it only used to appear elments in browser
19th Feb 2017, 5:47 PM
ahmed khattab
ahmed khattab - avatar
+ 1
HTML is used to create Structures of any web page...while Programming languages gives instructions for actual execution of data...
19th Feb 2017, 5:50 PM
Yash Shaha
+ 1
hey man, I need to ask you something about a website I want to create. Is there any way I can reach you, message you other than this comment post?
7th Mar 2017, 1:18 AM
Tomi Junaid
Tomi Junaid - avatar
+ 1
I think it is because HTML is written in tags. Anything that is written in tags is considered as HTML by the web browser
28th Jul 2017, 6:39 PM
Banana
Banana - avatar