What is the difference between a programming language (e.g. Python) and Markup Language (e.g. HTML)?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is the difference between a programming language (e.g. Python) and Markup Language (e.g. HTML)??

So, both are used to code, so what's the key difference between them?? I know markup language like HTML is used for web making, and programming language like Python is used for software, games and developing programmes and applications. I know that, and so, why can't HTML be called as a programming language and Python be called as a markup language, because both are used to code and develop something, right. What's the meaning​ of em'?? And what the key difference between them which set them apart!?

19th May 2017, 1:04 PM
CRYPTONaXE
CRYPTONaXE - avatar
2 Answers
+ 10
Mark-up is a good name for HTML, as it's not a programming language per se. You only mark that certain elements have to be here and there. You run it and the page is shown. No actual data types, structures or algorithms going on. Now, scripting or compiled languages are meant to create programs or applications, which actually do something, solve problems, process some data, automate a task and alike. I would say that is the main division line here.
19th May 2017, 2:08 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
Mark-Up Languages are most likely to be focused in Graphics like XML and HTML and programming languages in Algorithms, loop, conditionals and logics
19th May 2017, 1:08 PM
Complex
Complex - avatar