Skip to content
BENIBIX Learn

Markup Language

Development🔤 LanguagesLanguage Kinds

Also known as Markup, Mark-up Language

Tags on parts of a text, like a title or a link. An app reads the tags to show it.

Think of it like

It is like putting stickers on a page. The stickers say this is a title and this is a list.

Example

HTML is the markup language of the web. Markdown and XML are two more.

Why it matters

Web pages, many documents and lots of data files are all written in one. Learn the idea once and you can read them all.

Definition

A markup language adds labels to plain text to say what each part is. The labels are often called tags. A tag might say this is a heading, a link or a list. A browser or app reads the tags and shows the text the right way. A markup language describes things, but it cannot do sums or make choices like a programming language.

Example code

html
<h1>My Trip</h1>
<p>We went to <strong>Tokyo</strong> in May.</p>
The tags say which part is the heading and which word is strong.
A markup language sits outside the box: it describes, it does not compute.

Common mistake

Calling HTML a programming language. It has no loops or choices, so it only describes; JavaScript does the work.

Key takeaways

  1. 1
    Labels on text. Tags say what each part is.
  2. 2
    Read by an app. The app decides how it looks.
  3. 3
    Describes only. No sums, no choices.

Compare

Learn it properly