Difference Between Markup Language and Programming language
- Difference Between Markup Language and Programming Language
-
Definition
- markup language is a system for annotating a document in a way that is syntactically distinguishable from the text
- programming language is a formal language that contains a set of instructions used to produce various kinds of output
-
Functionality
-
markup language is interpreted by the browser while a
-
programming language is compiled by a compiler or interpreted by an interpreter.
-
-
Examples
- HTML, XML, and XHTML are some examples for markup languages.
- C, C++, Java, Python, and Assembly are some examples for programming languages.
-
Usage
-
the markup language is used to present information
-
programming language is used to give instructions to a computer to perform a particular task.
-
-
Conclusion
-
markup language defines a set of rules for encoding documents in a format that is both human-readable and machine-readable
-
programming language provides a set of commands and syntax that can be used to write computer programs which are understood by the computer.
-
Reference
-
“Markup Language.” P2P (Peer To Peer) Definition
-
“Programming Language.” Wikipedia, Wikimedia Foundation, 26 Sept. 2018
-
-
-