What is the difference between Markup Language & Programming Language?

Definition

A markup language is a computer language that defines elements within a document using tags. They are less difficult to read. Rather than executing or performing an action, these languages are designed to generate a structure, identify data, or convey data.

Meanwhile, a programming language is a set of commands and syntax that may be used to develop software applications. These programs are capable of completing a specific task.

Functionality

Another distinction between markup and programming languages is that markup is interpreted by the browser, whereas programming is compiled by a compiler.

Examples

Markup languages include HTML, XML, and XHTML, to name a few. Programming languages such as C, C++, Java, Python, and Assembly are just a few examples.

Reference: https://pediaa.com/what-is-the-difference-between-markup-language-and-programming-language/

Leave a Comment

Your email address will not be published. Required fields are marked *