Język znaczników

Markup Language

Markup language is a system for annotating a document in a way that is syntactically distinguishable from the text. The most common examples of markup languages are HTML, XML, and Markdown.

HTML (Hypertext Markup Language)

HTML is the standard markup language used to create and design web pages. It uses tags to define the structure of a web page, such as headings, paragraphs, lists, and links. Here is an example of an unordered list in HTML:

  • Item 1
  • Item 2
  • Item 3

XML (Extensible Markup Language)

XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is commonly used for data interchange between applications. Here is an example of an XML document:

<<book>
  <title>Sample Book</title>
  <author>John Doe</author>
</book>

Markdown

Markdown is a lightweight markup language with plain text formatting syntax designed so that it can be converted to HTML and other formats. It is often used for formatting readme files, forum posts, and other types of text documents. Here is an example of Markdown syntax for creating a heading:

# This is a heading

For more information on markup languages, you can visit the Wikipedia page.