The Student Room Group

Difference Between Markup & Programming Language?

Can anyone here give a brief/simple explanation as to what the difference is between markup up language and programming language?
Thanks
Reply 1
Markup: HTML, XML, CSS, etc
Programming: Java, C++, C#, etc

Markup languages tend to provide structure to data and/or determine how it is displayed.
Programming languages (almost always) need to be compiled before running and instruct the computer to perform tasks/calculations, including how to perform them (although if you're using a high-level language the low level instructions are hidden in the syntax).
Reply 2
As you say:
Markup languages are designed to structure data so that a computer program can read it. It does not specify what the computer is meant to do with the data, only allows it to use it more easily.
Programming languages are designed to allow you to express instructions to tell the computer what to do.
. What is the difference between programming language and markup language
See these pages for a description of each and you can clearly see the difference from there:
https://en.wikipedia.org/wiki/Programming_language
https://en.wikipedia.org/wiki/Markup_language

Quick Reply

Latest

Trending

Trending