+ 13
Why html is known as a markup language ? Not a programming language
10 Antworten
+ 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 )
+ 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-->
+ 4
HTML doesn't execute anything, it just adds structure to it. A programming language has instructions that are executed
+ 4
I think it is because it does not need any kind of definite spacing and also it does not need any compiler.
+ 2
HTML does not need a compiler or interpreter. It marks up the media.
whereas programming languages need the above
+ 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....
+ 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
+ 1
HTML is used to create Structures of any web page...while Programming languages gives instructions for actual execution of data...
+ 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?
+ 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