Markup languages are systems for annotating a document in a way that is syntactically distinguishable from the text. These annotations define how text is structured and presented, allowing for the separation of content from presentation. Markup languages are widely used in web development, document processing, and data interchange. Here’s an overview of some of the most common markup languages and their key features:
<header>, <footer>, <article>, and <section>) that improve document structure and accessibility.<html>
<head>
<title>My Web Page</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is a sample paragraph.</p>
<a href="https://example.com">Visit Example</a>
</body>
</html>
<book>
<title>Learning XML</title>
<author>John Doe</author>
<year>2023</year>
</book>
# for headings, * for bullet points, and ** for bold text.# My Document Title
This is a paragraph with **bold text** and *italic text*.
- Item 1
- Item 2
\documentclass{article}
\begin{document}
\title{My First LaTeX Document}
\author{Jane Doe}
\maketitle
This is a sample document with an equation: $$ E = mc^2 $$.
\end{document}
{
"name": "Alice",
"age": 30,
"city": "New York"
}
Markup languages play a crucial role in web development, data exchange, and document creation. Each language has its strengths and use cases, from structuring web content with HTML to storing and sharing data with XML and JSON. Understanding these languages is essential for developers, writers, and anyone involved in digital content creation and management.
Open this section to load past papers