Markup Language

Markup Language

A markup language is a computer language that uses tags to define elements within a document. It is human-readable, meaning markup files contain standard words, rather than typical programming syntax. While several markup languages exist, the two most popular are HTML and XML.
HTML is a markup language used for creating webpages. The contents of each webpage are defined by HTML tags. Basic page tags, such as , , and define sections of the page, while tags such as , , , and define elements within the page. Most elements require a beginning and end tag, with the content placed between the tags. For example, a link to the TechTerms.com home page may use the following HTML code:
TechTerms.com
XML is used for storing structured data, rather than formatting information on a page. While HTML documents use predefined tags (like the examples above), XML files use custom tags to define elements. For example, an XML file that stores information about computer models may include the following section:

  Dell

  XPS 17

  

    2.00 GHz Intel Core i7

    6GB

    1TB

  

XML is called the “Extensible Markup Language” since custom tags can be used to support a wide range of elements. Each XML file is saved in a standard text format, which makes it easy for software programs to parse or read the data. Therefore, XML is a common choice for exporting structured data and for sharing data between multiple programs.
NOTE: Since both HTML and XML files are saved in a plain text format, they can be viewed in a standard text editor. You can also view the HTML source of an open webpage by selecting the “View Source” option. This feature is found in the View menu of most Web browsers.

Updated June 1, 2011 by Per C.

APA
MLA
Chicago
HTML
Link

https://techterms.com/definition/markup_language

Copy