A computer language that consists of easily understood keywords, names, or tags that help format the overall view of a page and the data it contains. Some examples of a markup language are BBC, HTML, SGML, and XML.
Markup language example
Below is an example segment of HTML code that creates bold text on a web page.
Example of <b>bold</b> in HTML.
Example of bold in HTML.
Markup language vs. programming language
A markup language is not a programming language. It's a series of special markings, interspersed with plain text, which if removed or ignored, leave the plain text as a complete whole. Or, those markings can be interpreted in a predefined manner (make this text bold, make this text an ordered list) that enhances its presentation to the reader. In contrast, plain text may be (and often is) part of a computer program; however, its representation will vary according to the programming language, and the programmer's style of writing. Importantly, if all non-plain-text components of a computer program are removed, the remaining plain text is not guaranteed to be complete, or correctly ordered.