Programming/Language/Markup
Properties
- alias
- Markup Language
- tags
- Term, Diataxis/Explanation, Writing/Co-Written with AI
Markup Language
Overview
Context
Key Principles
Mechanism
- Markup languages employ symbols, tags, or special syntax embedded within plain text to define elements such as paragraphs, headings, or lists.
- These annotations are then interpreted by a rendering engine or parser, which processes the markup to display, structure, or transport the document content.
- Unlike programming languages, markup languages do not support logical operations or algorithmic execution.
Examples
Misconceptions
- Markup languages as programming languages → Markup languages do not execute logic, control flow, or algorithms; they simply describe structure or formatting.
- HTML as a purely presentational language → Modern HTML (HTML5) emphasizes semantic structure, not just visual formatting.
- Markup languages always require angle brackets (
< >) → Some markup languages, like Markdown or YAML, use other syntactic approaches like indentation or plain symbols.
Related
- Programming Language · HTML · XML · Markdown