<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Markup_language</id>
	<title>Markup language - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Markup_language"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Markup_language&amp;action=history"/>
	<updated>2026-06-17T01:54:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Markup_language&amp;diff=12183&amp;oldid=prev</id>
		<title>imported&gt;Belbury: Reverted 1 edit by ~2025-35027-56 (talk) to last revision by Tymewalk</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Markup_language&amp;diff=12183&amp;oldid=prev"/>
		<updated>2025-11-20T09:43:23Z</updated>

		<summary type="html">&lt;p&gt;Reverted 1 edit by &lt;a href=&quot;/index.php/Special:Contributions/~2025-35027-56&quot; title=&quot;Special:Contributions/~2025-35027-56&quot;&gt;~2025-35027-56&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:~2025-35027-56&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:~2025-35027-56 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last revision by Tymewalk&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Modern system for document annotation}}&lt;br /&gt;
[[File:RecipeML egg nog.svg|thumb|Example of [[RecipeML]], a simple markup language based on XML for creating recipes. The markup can be converted programmatically for display into, for example, [[HTML]], [[PDF]] or [[Rich Text Format]].|alt=A screenshot of an XML file.]]&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;markup language&amp;#039;&amp;#039;&amp;#039; is a [[Encoding|text-encoding system]] which specifies the structure and formatting of a document and potentially the relationships among its parts.&amp;lt;ref&amp;gt;{{Cite news |title=markup language {{!}} Definition, Examples, &amp;amp; Facts |language=en |work=Encyclopedia Britannica |url=https://www.britannica.com/technology/markup-language |access-date=2022-08-17 |archive-date=2020-10-26 |archive-url=https://web.archive.org/web/20201026080719/https://www.britannica.com/technology/markup-language |url-status=live }}&amp;lt;/ref&amp;gt; Markup can control the display of a document or enrich its content to facilitate automated processing.&lt;br /&gt;
&lt;br /&gt;
A markup language is a set of rules governing what markup information may be included in a document and how it is combined with the content of the document in a way to facilitate use by humans and computer programs. The idea and [[terminology]] evolved from the marking up of paper [[manuscript]]s (e.g., with revision instructions by editors), traditionally written with a red pen or [[blue pencil (editing)|blue pencil]] on authors&amp;#039; manuscripts.&amp;lt;ref&amp;gt;{{cite book|author1-last=Siechert&lt;br /&gt;
|author1-first=Carl |author2-last=Bott |author2-first=Ed|title=Microsoft Office Inside Out: 2013 Edition |url=https://books.google.com/books?id=TbhCAwAAQBAJ|year=2013 |publisher=Pearson Education |isbn=978-0735669062 |page=305 |quote=Some reviewers prefer going old school by using a red pen on printed output}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Older markup languages, which typically focus on [[typesetting]] and presentation, include [[troff]], [[TeX]], and [[LaTeX]]. [[Scribe (markup language)|Scribe]] and most modern markup languages, such as [[XML]], identify document components (for example headings, paragraphs, and tables), with the expectation that technology, such as [[Style sheet (web development)|stylesheets]], will be used to apply formatting or other processing.{{Citation needed|date=February 2024}}&lt;br /&gt;
&lt;br /&gt;
Some markup languages, such as the widely used [[HTML]], have pre-defined [[presentation semantics]], meaning that their [[Specification (technical standard)|specification]]s prescribe some aspects of how to present the [[structured data]] on particular media. HTML, like [[DocBook]], [[Open eBook]], [[JATS]], and many others, is based on the markup [[metalanguage]]s XML and [[SGML]]. That is, SGML and XML allow designers to specify particular [[XML schema|schema]]s, which determine which elements, [[Attribute (object-oriented programming)|attributes]], and other features are permitted, and where.&amp;lt;ref&amp;gt;{{cite web |author=&amp;lt;!-- not stated --&amp;gt; |date=&amp;lt;!-- not stated --&amp;gt; |url=https://sgmljs.net/docs/markdown-typography-examples.html# |website=smljs.net |title=SGML Markdown Typography Documentation |access-date=2025-01-02}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A key characteristic of most markup languages is that they allow combining markup with content such as text and pictures. For example, if a few words in a sentence need to be emphasized, or identified as a proper name, defined term, or another special item, the markup may be inserted between the characters of the sentence. &lt;br /&gt;
&lt;br /&gt;
==Etymology&amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;Etymology and origin&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
The word &amp;#039;&amp;#039;markup&amp;#039;&amp;#039; is derived from the traditional publishing practice of &amp;#039;&amp;#039;marking up&amp;#039;&amp;#039; a [[manuscript]], which involves adding handwritten [[annotation]]s in the form of conventional symbolic [[Printing|printer]]&amp;#039;s instructions—in the [[Margin (typography)|margin]]s and text of a paper or printed manuscript. &lt;br /&gt;
&lt;br /&gt;
For centuries, this task was done primarily by skilled [[typographers]] known as &amp;#039;&amp;#039;markup men&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;Allan Woods, &amp;#039;&amp;#039;Modern Newspaper Production&amp;#039;&amp;#039; (New York: Harper &amp;amp; Row, 1963), 85; Stewart Harral, &amp;#039;&amp;#039;Profitable Public Relations for Newspapers&amp;#039;&amp;#039; (Ann Arbor: J. W. Edwards, 1957), 76; and &amp;#039;&amp;#039;Chiarella v. United States&amp;#039;&amp;#039;, {{ussc|445|222|1980}}.&amp;lt;/ref&amp;gt; or &amp;#039;&amp;#039;markers&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;&amp;#039;&amp;#039;From the Notebooks of H. J. H &amp;amp; D. H. An on Composition&amp;#039;&amp;#039;, Kingsport Press Inc., undated (1960s).&amp;lt;/ref&amp;gt; who marked up text to indicate what [[typeface]], style, and size should be applied to each part, and then passed the manuscript to others for [[typesetting]] by hand or machine. &lt;br /&gt;
&lt;br /&gt;
The markup was also commonly applied by [[editor]]s, [[proofreader]]s, [[publisher]]s, and [[graphic designer]]s, and by authors themselves, all of whom might also mark things such as corrections and changes.&lt;br /&gt;
&lt;br /&gt;
==Types==&lt;br /&gt;
There are three general categories of electronic markup, articulated by James Coombs, Allen Renear, and [[Steven DeRose]] in 1987,&amp;lt;ref&amp;gt;{{cite journal |date=November 1987 |title=Markup systems and the future of scholarly text processing |journal=[[Communications of the ACM]] |volume=30 |issue=11 |pages=933–947 |doi=10.1145/32206.32209 |url=http://xml.coverpages.org/coombs.html |first1=James H. |last1=Coombs |first2=Allen H. |last2=Renear |first3=Steven J. |last3=DeRose |citeseerx=10.1.1.515.5618 |s2cid=59941802 |access-date=2005-04-19 |archive-date=2019-05-12 |archive-url=https://web.archive.org/web/20190512040939/http://xml.coverpages.org/coombs.html |url-status=live }}&amp;lt;/ref&amp;gt; and [[Tim Bray]] in 2003.&amp;lt;ref&amp;gt;{{cite web |last=Bray |first=Tim |author-link=Tim Bray |url=https://www.tbray.org/ongoing/When/200x/2003/04/09/SemanticMarkup#p-1 |title=On Semantics and Markup, Taxonomy of Markup |website=www.tbray.org |date=9 April 2003 |access-date=2021-08-16 |archive-date=2021-02-27 |archive-url=https://web.archive.org/web/20210227074013/https://www.tbray.org/ongoing/When/200x/2003/04/09/SemanticMarkup#p-1 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentational markup ===&lt;br /&gt;
Presentational markup is used by traditional [[Word processor (electronic device)|word-processing]] systems. [[Binary code]]s embedded within document text produce the [[WYSIWYG]] (&amp;#039;what you see is what you get&amp;#039;) effect. Such markup is usually hidden from human users, even authors and editors. Such systems use procedural and descriptive markup internally but convert them to present the user with formatted arrangements of type.{{Citation needed|date=February 2024}}&lt;br /&gt;
&lt;br /&gt;
=== Procedural markup ===&lt;br /&gt;
Markup is embedded in text which provides [[Opcode|instructions]] for [[Computer program|programs]] to process the text. Well-known examples include [[troff]], [[TeX]], and [[Markdown]]. Generally, software processes the text sequentially from beginning to end, following the instructions as encountered. Such text is often edited with the markup visible and directly manipulated by the author. Popular procedural markup systems usually include [[Process (computing)|programming constructs]], especially [[Macro (computer science)|macros]], allowing complex sets of instructions to be invoked by a simple name (and perhaps a few parameters). This is much faster, less error-prone, and more maintenance-friendly than re-stating the same or similar instructions in many places.&lt;br /&gt;
&lt;br /&gt;
=== Descriptive markup ===&lt;br /&gt;
Descriptive markup is specifically used to describe parts of the document for what they are, rather than how they should be processed. Well-known systems that provide many such labels include [[LaTeX]], [[HTML]], and [[XML]]. The objective is to [[Separation of content and presentation|decouple the structure]] of the document from any particular treatment or rendition of it. Such markup is often described as &amp;#039;&amp;#039;[[Semantic HTML|semantic]]&amp;#039;&amp;#039;. An example of a descriptive markup is HTML&amp;#039;s &amp;lt;code&amp;gt;&amp;amp;lt;cite&amp;gt;&amp;lt;/code&amp;gt; tag, which is used to label a [[citation]]. Descriptive markup—sometimes called &amp;#039;&amp;#039;logical markup&amp;#039;&amp;#039; or &amp;#039;&amp;#039;conceptual markup&amp;#039;&amp;#039;—encourages authors to write in a way that describes the material conceptually, rather than visually.&amp;lt;ref&amp;gt;Michael Downes.[https://www.ams.org/notices/200211/comm-downes.pdf &amp;quot;TEX and LATEX 2e&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20210524182136/http://www.ams.org/notices/200211/comm-downes.pdf |date=2021-05-24 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is considerable overlap and concurrent use of markup types. In modern word-processing systems, presentational markup is often saved in descriptive-markup-oriented systems such as XML, and then processed procedurally by [[implementation]]s. The programming in procedural-markup systems, such as TeX, may be used to create higher-level markup systems that are more descriptive in nature, such as LaTeX.&lt;br /&gt;
&lt;br /&gt;
In recent years,{{When|date=October 2025}} several markup languages have been developed with ease of use as a key goal, and without input from standards organizations, aimed at allowing authors to create formatted text via [[web browser]]s, for example in [[wiki]]s and [[web forum]]s. These are sometimes called [[lightweight markup language]]s. Markdown, [[BBCode]], and the [[Wikitext|markup language used by Wikipedia]] are examples of such languages.&lt;br /&gt;
&lt;br /&gt;
==History&amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;History&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
===GenCode===&lt;br /&gt;
The first well-known public presentation of markup languages in computer text processing was made by [[William W. Tunnicliffe]] at a conference in 1967, although he preferred to call it &amp;#039;&amp;#039;generic coding.&amp;#039;&amp;#039; It can be seen as a response to the emergence of processing programs such as [[RUNOFF]] that each used their own control notation, often specific to the target typesetting device. In the 1970s, Tunnicliffe led the development of a standard called GenCode for the publishing industry. [[Book design]]er Stanley Rice published speculation along similar lines in 1970.&amp;lt;ref&amp;gt;Rice, Stanley. &amp;quot;Editorial Text Structures (with some relations to information structures and format controls in computerized composition)&amp;quot;. American National Standards Institute, March 17, 1970.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Brian Reid (computer scientist)|Brian Reid]], in his 1980 dissertation at [[Carnegie Mellon University]], developed a theory and working implementation of descriptive markup in actual use. However, [[IBM]] researcher [[Charles Goldfarb]] is more commonly considered the inventor of markup languages. Goldfarb developed the basic idea while working on a primitive [[document management system]] intended for law firms in 1969, and helped invent IBM&amp;#039;s [[Generalized Markup Language]] (GML) later that same year. GML was first publicly disclosed in 1973.&lt;br /&gt;
&lt;br /&gt;
In 1975, Goldfarb moved from [[Cambridge, Massachusetts]] to [[Silicon Valley]] and became a product planner at the [[IBM Almaden Research Center]]. There, he convinced IBM&amp;#039;s executives to deploy GML commercially in 1978 as part of IBM&amp;#039;s [[Document Composition Facility]] product, and it was widely used in business within a few years.&lt;br /&gt;
&lt;br /&gt;
[[Standard Generalized Markup Language]] (SGML), the first standard descriptive markup language, was based on both GML and GenCode. It was the result of an [[International Organization for Standardization]] (ISO) committee that was first chaired by Tunnicliffe, and which Goldfarb also worked on beginning in 1974.&amp;lt;ref&amp;gt;{{cite web|url=http://www.drdobbs.com/blog/archives/2009/08/beyond_html_an.html|title=2009 interview with SGML creator Charles F. Goldfarb|publisher=[[Dr. Dobb&amp;#039;s Journal]]|access-date=2010-07-18}}{{dead link|date=January 2018 |bot=InternetArchiveBot |fix-attempted=yes }}&amp;lt;/ref&amp;gt; Goldfarb eventually became chair of the committee. SGML was first released by ISO as the ISO 8879 standard in October 1986.&lt;br /&gt;
&lt;br /&gt;
===troff and nroff===&lt;br /&gt;
{{Main|troff}}&lt;br /&gt;
Some early examples of computer markup languages available outside the publishing industry can be found in typesetting tools on [[Unix]] systems such as troff and [[nroff]]. In these systems, formatting commands were inserted into the document text so that typesetting software could format the text according to the editor&amp;#039;s specifications. It was a [[trial and error]] iterative process to correctly print a document.&amp;lt;ref&amp;gt;Daniel Gilly. [http://web.deu.edu.tr/doc/oreily/unix/unixnut/ch12_01.htm &amp;#039;&amp;#039;Unix in a nutshell: Chapter 12. Groff and Troff&amp;#039;&amp;#039;] {{Webarchive|url=https://web.archive.org/web/20160105180006/http://web.deu.edu.tr/doc/oreily/unix/unixnut/ch12_01.htm |date=2016-01-05 }}. O&amp;#039;Reilly Books, 1992. {{ISBN|1-56592-001-5}}&amp;lt;/ref&amp;gt; The availability of WYSIWYG publishing software supplanted much use of these languages among casual users, though professional publishing work still uses markup to specify the non-visual structure of texts, and WYSIWYG editors now usually save documents in a markup-language-based format.&lt;br /&gt;
&lt;br /&gt;
===TeX===&lt;br /&gt;
{{Main|TeX}}&lt;br /&gt;
Another major publishing standard is TeX, created and refined by [[Donald Knuth]] in the 1970s and 1980s. TeX concentrated on the detailed layout of text and font descriptions to typeset mathematical books. This required Knuth to spend considerable time investigating the art of typesetting. TeX is mainly used in [[academia]], where it is a [[De facto standard|&amp;#039;&amp;#039;de facto&amp;#039;&amp;#039; standard]] in many scientific disciplines. A TeX macro package known as LaTeX provides a descriptive markup system on top of TeX, and is widely used both among the scientific community and the publishing industry.&lt;br /&gt;
&lt;br /&gt;
===Scribe, GML, and SGML===&lt;br /&gt;
{{Main|Scribe (markup language)|IBM Generalized Markup Language|Standard Generalized Markup Language}}&lt;br /&gt;
The first language to make a clear distinction between structure and presentation was Scribe, developed by Brian Reid and described in his doctoral thesis in 1980.&amp;lt;ref&amp;gt;Reid, Brian. &amp;quot;Scribe: A Document Specification Language and its Compiler&amp;quot;. Ph.D. thesis, Carnegie-Mellon University, Pittsburgh PA. Also available as Technical Report CMU-CS-81-100.&amp;lt;/ref&amp;gt; Scribe was revolutionary in a number of ways, introducing the idea of styles separated from the marked-up document, and a [[grammar]] that controlled the usage of descriptive elements. Scribe influenced the development of GML and later SGML,&amp;lt;ref&amp;gt;{{Cite web|url=http://xml.coverpages.org/mt98-papers.html#reid|title=20 Years of Abstract Markup - Any Progress?|last=Reid|first=Brian|author-link=Brian Reid (computer scientist)|website=xml.coverpages.org|access-date=2021-08-16|archive-date=2019-05-01|archive-url=https://web.archive.org/web/20190501150514/http://xml.coverpages.org/mt98-papers.html#reid|url-status=live}}&amp;lt;/ref&amp;gt; and is a direct ancestor to HTML and LaTeX.{{efn|HTML is a particular instance of SGML, whereas LaTeX is designed with the separation-between-content-and-design philosophy of Scribe in mind.}}&lt;br /&gt;
&lt;br /&gt;
In the early 1980s, the idea that markup should focus on the structural aspects of a document and leave the visual presentation of that structure to the interpreter led to the creation of SGML. The language was developed by a committee chaired by Goldfarb. It incorporated ideas from many different sources, including Tunnicliffe&amp;#039;s project, GenCode. Sharon Adler, Anders Berglund, and James A. Marke were also key members of the SGML committee.&lt;br /&gt;
&lt;br /&gt;
SGML specifies a [[Syntax (programming languages)|syntax]] for including the markup in documents, as well as one for separately describing what tags are allowed, and where (the [[document type definition]] (DTD), later known as a [[XML schema|schema]]). This allows authors to create and use any markup they want, selecting tags that make the most sense to them and are named in their own [[natural language]]s, while also allowing automated verification. Thus, SGML is properly a [[metalanguage]], and many markup languages are derived from it. From the late 1980s onward, most substantial new markup languages have been based on SGML, including the [[Text Encoding Initiative]] (TEI) guidelines and [[DocBook]]. SGML was promulgated as the ISO 8879 standard in 1986.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.iso.org/standard/16387.html|title=ISO 8879:1986|website=ISO|access-date=2021-08-15|archive-date=2021-08-17|archive-url=https://web.archive.org/web/20210817024719/https://www.iso.org/standard/16387.html|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SGML found wide acceptance and use in fields with very large-scale [[documentation]] requirements. However, many found it cumbersome and difficult to learn—a side effect of its design attempting to do too much and being too flexible. For example, SGML made end tags (or start tags, or both) optional in certain contexts, because its developers thought markup would be done manually by overworked support staff who would appreciate saving keystrokes{{Citation needed|date=August 2008}}.&lt;br /&gt;
&lt;br /&gt;
====HTML====&lt;br /&gt;
{{Main|HTML}}&lt;br /&gt;
In 1989, computer scientist [[Tim Berners-Lee]] wrote a memo proposing an [[Internet]]-based [[hypertext]] system,&amp;lt;ref&amp;gt;Tim Berners-Lee, &amp;quot;[https://www.w3.org/History/1989/proposal.html Information Management: A Proposal]&amp;quot;. CERN (March 1989, May 1990). W3C. {{Webarchive|url=https://web.archive.org/web/20100401051011/https://www.w3.org/History/1989/proposal.html |date=2010-04-01 }}&amp;lt;/ref&amp;gt; then specified HTML and wrote the browser and server software in late 1990. The first publicly available description of HTML was a document called &amp;quot;HTML Tags&amp;quot;, first mentioned on the Internet by Berners-Lee in late 1991.&amp;lt;ref name=&amp;quot;tagshtml&amp;quot;&amp;gt;{{cite web |url=https://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/Tags.html |title=Tags used in HTML |publisher=World Wide Web Consortium |date=November 3, 1992 |access-date=2021-08-16 |archive-date=2010-01-31 |archive-url=https://web.archive.org/web/20100131184344/http://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/Tags.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://lists.w3.org/Archives/Public/www-talk/1991SepOct/0003.html|title=First mention of HTML Tags on the www-talk mailing list|publisher=World Wide Web Consortium|date=October 29, 1991|access-date=August 16, 2021|archive-date=August 8, 2021|archive-url=https://web.archive.org/web/20210808223716/https://lists.w3.org/Archives/Public/www-talk/1991SepOct/0003.html|url-status=live}}&amp;lt;/ref&amp;gt; It describes 18 elements comprising the initial, relatively simple design of HTML. Except for the [[hyperlink]] tag, these were strongly influenced by [[SGMLguid]], an in-house SGML-based documentation format at [[CERN]], and very similar to the sample schema in the SGML standard. Eleven of these elements still exist in HTML 4.&amp;lt;ref&amp;gt;{{cite web|url=https://www.w3.org/TR/1999/REC-html401-19991224/index/elements|title=Index of elements in HTML 4|publisher=World Wide Web Consortium|date=December 24, 1999|access-date=2021-08-16|archive-date=2007-05-05|archive-url=https://web.archive.org/web/20070505172415/https://www.w3.org/TR/1999/REC-html401-19991224/index/elements|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Berners-Lee considered HTML an SGML application. The [[Internet Engineering Task Force]] (IETF) formally defined it as such with the mid-1993 publication of the first proposal for an HTML [[Specification (technical standard)|specification]]: &amp;quot;Hypertext Markup Language (HTML)&amp;quot; by Berners-Lee and [[Dan Connolly (computer scientist)|Dan Connolly]],&amp;lt;ref&amp;gt;{{Cite web |last=Berners-Lee |first=Tim |last2=Connolly |first2=Dan |date=June 1993 |title=Hypertext Markup Language (HTML) Internet Draft |url=https://www.w3.org/MarkUp/draft-ietf-iiir-html-01.txt |url-status=live |archive-url=https://web.archive.org/web/20170103041713/https://www.w3.org/MarkUp/draft-ietf-iiir-html-01.txt |archive-date=2017-01-03 |access-date=2025-10-13 |website=[[World Wide Web Consortium]]}}&amp;lt;/ref&amp;gt; which included an SGML DTD to define the grammar.&amp;lt;ref&amp;gt;{{cite web|url=https://lists.w3.org/Archives/Public/www-talk/1991NovDec/0020.html|title=Re: SGML/HTML docs, X Browser (archived www-talk mailing list post)|author=Tim Berners-Lee|author-link=Tim Berners-Lee|date=December 9, 1991|quote=SGML is very general. HTML is a specific application of the SGML basic syntax applied to hypertext documents with a simple structure.|access-date=August 16, 2021|archive-date=July 3, 2021|archive-url=https://web.archive.org/web/20210703084047/https://lists.w3.org/Archives/Public/www-talk/1991NovDec/0020.html|url-status=live}}&amp;lt;/ref&amp;gt; Many of the HTML text elements are found in the 1988 ISO technical report &amp;#039;&amp;#039;TR 9537 Techniques for using SGML&amp;#039;&amp;#039;, which in turn covers the features of early text formatting languages, such as that used by the [[TYPSET and RUNOFF|RUNOFF command]] developed in the early 1960s for the [[Compatible Time-Sharing System]] operating system. These formatting commands were derived from those used by typesetters to manually format documents. Steven DeRose argues that HTML&amp;#039;s use of descriptive markup (and the influence of SGML in particular) was a major factor in the success of the Web, because of the flexibility and [[extensibility]] that it enabled.&amp;lt;ref&amp;gt;DeRose, Steven J. &amp;quot;The SGML FAQ Book&amp;quot;. Boston: Kluwer Academic Publishers, 1997. {{ISBN|0-7923-9943-9}}&amp;lt;/ref&amp;gt; HTML became the main markup language for creating web pages and other information that can be displayed in a web browser and is likely the most used markup language in the world in the 21st century.&lt;br /&gt;
&lt;br /&gt;
===XML===&lt;br /&gt;
{{Main|XML}}&lt;br /&gt;
XML (Extensible Markup Language) is a widely-used meta markup language. It was developed by the [[World Wide Web Consortium]] (W3C) in a committee created and chaired by [[Jon Bosak]]. The main purpose of XML was to simplify SGML by focusing on a particular use case—documents on the Internet.&amp;lt;ref&amp;gt;{{cite web |url=https://www.w3.org/TR/xml11/ |date=16 August 2006 |title=Extensible Markup Language (XML) 1.1 (Second Edition) |publisher=W3C |access-date=2021-08-16 |archive-date=2021-08-11 |archive-url=https://web.archive.org/web/20210811223058/https://www.w3.org/TR/xml11/ |url-status=live }}&amp;lt;/ref&amp;gt; XML remains a metalanguage like SGML, allowing users to create any tags needed (hence &amp;#039;&amp;#039;extensible&amp;#039;&amp;#039;) and then describing those tags and their permitted uses.&lt;br /&gt;
&lt;br /&gt;
XML adoption was hastened by the fact that every XML document can be written so that it is also an SGML document, allowing existing SGML users and software to switch to XML fairly easily. At the same time, XML eliminates many complex features of SGML to simplify implementation environments such as documents and publications. It appears to balance simplicity and flexibility, as well as support very robust schema definitions and validation tools, and was rapidly adopted for many uses. XML is now widely used for [[Communication protocol|communicating data]] between applications, [[serializing]] program data, for hardware communication protocols, [[vector graphics]], and other uses besides documents.&lt;br /&gt;
&lt;br /&gt;
====XHTML====&lt;br /&gt;
{{Main|XHTML}}&lt;br /&gt;
From January 2000 until [[HTML 5]] was released, all [[W3C recommendation]]s for HTML were based on XML, using [[XHTML]] (Extensible HyperText Markup Language). The language specification requires that XHTML documents be [[Well-formed document|&amp;#039;&amp;#039;well-formed&amp;#039;&amp;#039; XML documents]]. This allows for more rigorous and robust documents, by avoiding many syntax errors which historically led to unwanted browser behavior, while still using document components familiar to HTML users.&lt;br /&gt;
&lt;br /&gt;
One of the most noticeable differences between HTML and XHTML is the latter&amp;#039;s rule that &amp;#039;&amp;#039;all tags must be closed&amp;#039;&amp;#039;: empty HTML tags such as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; must either be &amp;#039;&amp;#039;closed&amp;#039;&amp;#039; with a regular end-tag, or replaced by a special form: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;br&amp;amp;nbsp;/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (the space before the slash on the end tag is optional but frequently used, because it enables some pre-XML web browsers and SGML parsers to accept the tag). Another difference is that all [[HTML attribute|attribute]] values in tags must be quoted. Both these differences are commonly criticized as verbose but also praised because they make it far easier to detect, localize, and repair errors. Finally, all tag and attribute names within the XHTML namespace must be lowercase to be valid. HTML, on the other hand, was case-insensitive.&lt;br /&gt;
&lt;br /&gt;
====Other XML-based applications====&lt;br /&gt;
Many XML-based applications exist, including the [[Resource Description Framework]] as [[RDF/XML]], [[XForms]], [[DocBook]], [[SOAP]], and the [[Web Ontology Language]] (OWL). For a partial list of these, see [[list of XML markup languages]].&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
A common feature of many markup languages is that they intermix the text of a document with markup instructions in the same data stream or file. This is not necessary; it is possible to isolate markup from text content, using pointers, offsets, IDs, or other methods to coordinate the two. Such &amp;#039;&amp;#039;standoff&amp;#039;&amp;#039; markup is typical for the internal representations that programs use to work with marked-up documents. However, &amp;#039;&amp;#039;embedded&amp;#039;&amp;#039; or &amp;#039;&amp;#039;inline&amp;#039;&amp;#039; markup is much more common elsewhere. For example, the following is a small section of text marked up in HTML:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;meta charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;My test page&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;h1&amp;gt;Mozilla is cool&amp;lt;/h1&amp;gt;&lt;br /&gt;
    &amp;lt;img src=&amp;quot;images/firefox-icon.png&amp;quot; alt=&amp;quot;The Firefox logo: a flaming fox surrounding the Earth.&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;At Mozilla, we’re a global community of&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;ul&amp;gt; &amp;lt;!-- changed to list in the tutorial --&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;technologists&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;thinkers&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;li&amp;gt;builders&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;working together to keep the Internet alive and accessible, so people worldwide can be informed contributors and creators of the Web. We believe this act of human collaboration across an open platform is essential to individual growth and our collective future.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;Read the &amp;lt;a href=&amp;quot;https://www.mozilla.org/en-US/about/manifesto/&amp;quot;&amp;gt;Mozilla Manifesto&amp;lt;/a&amp;gt; to learn even more about the values and principles that guide the pursuit of our mission.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The codes enclosed in angle-brackets &amp;lt;code&amp;gt;&amp;amp;lt;like this&amp;amp;gt;&amp;lt;/code&amp;gt; are markup instructions (known as &amp;#039;&amp;#039;tags&amp;#039;&amp;#039;), while the text between these instructions is the actual text of the document. The codes &amp;lt;code&amp;gt;h1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;em&amp;lt;/code&amp;gt; are examples of &amp;#039;&amp;#039;semantic&amp;#039;&amp;#039; markup, in that they describe the intended purpose or the meaning of the text they include. Specifically, &amp;lt;code&amp;gt;h1&amp;lt;/code&amp;gt; means the enclosed text is a &amp;#039;&amp;#039;first-level heading&amp;#039;&amp;#039;, &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; means a &amp;#039;&amp;#039;paragraph&amp;#039;&amp;#039;, and &amp;lt;code&amp;gt;em&amp;lt;/code&amp;gt; means an &amp;#039;&amp;#039;emphasized&amp;#039;&amp;#039; word or phrase. A program interpreting such structural markup may apply its own rules or styles for presenting the various pieces of text, using different typefaces, boldness, font size, indentation, color, or other styles, as desired. For example, a tag such as &amp;lt;code&amp;gt;h1&amp;lt;/code&amp;gt; might be presented in a large bold [[sans-serif]] typeface in an article, or it might be underscored in a [[monospaced]] (fixed-width font) document, or it might not change the presentation at all.&lt;br /&gt;
&lt;br /&gt;
In contrast, the &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; tag in HTML 4 is an example of &amp;#039;&amp;#039;presentational&amp;#039;&amp;#039; markup, which is generally used to specify a characteristic of the text without specifying the reason for that appearance. In this case, the &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; element dictates the use of an [[italic type]]face. However, in HTML 5, this element has been repurposed with a more semantic usage: to denote &amp;quot;a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text&amp;quot;.&amp;lt;ref name=&amp;quot;ielement&amp;quot; /&amp;gt; For example, it is appropriate to use the &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; element to indicate a taxonomic designation or a phrase in another language.&amp;lt;ref name=&amp;quot;ielement&amp;quot;&amp;gt;{{cite web |last1=Hickson |first1=Ian |title=HTML Living Standard |url=https://html.spec.whatwg.org/#the-i-element |website=WHATWG — HTML |access-date=13 September 2020 |archive-date=8 March 2018 |archive-url=https://web.archive.org/web/20180308105412/https://html.spec.whatwg.org/#the-i-element |url-status=live }}&amp;lt;/ref&amp;gt; The change was made to ease the transition from HTML 4 to 5 as smoothly as possible so that [[deprecated]] uses of presentational elements would preserve the most likely intended meaning.&lt;br /&gt;
&lt;br /&gt;
TEI has published extensive guidelines&amp;lt;ref&amp;gt;{{cite web |url=https://www.tei-c.org/Guidelines/ |title=TEI Guidelines for Electronic Text Encoding and Interchange |publisher=Tei-c.org |access-date=2021-08-16 |archive-url=https://web.archive.org/web/20140703122400/https://www.tei-c.org/Guidelines/ |archive-date=2014-07-03}}&amp;lt;/ref&amp;gt; for how to encode texts of interest in the [[humanities]] and [[social science]]s, developed through years of international cooperative work. These guidelines are used for encoding historical documents, and the works of particular scholars, periods, and genres.&lt;br /&gt;
&lt;br /&gt;
==Broader use==&lt;br /&gt;
While the idea of markup language originated with text documents, they are increasingly used in the presentation of other types of information, including [[playlist]]s, [[vector graphics]], [[web service]]s, [[content syndication]], and [[user interface]]s. Most of these are XML applications because XML is a well-defined and [[extensible language]].{{says who|date=July 2022}}&lt;br /&gt;
&lt;br /&gt;
The use of XML has also led to the possibility of combining multiple markup languages into a single profile, like [[XHTML+SMIL]] and [[XHTML+MathML+SVG]].&amp;lt;ref&amp;gt;[https://www.w3.org/TR/2002/WD-XHTMLplusMathMLplusSVG-20020809/ An XHTML + MathML + SVG Profile] {{Webarchive|url=https://web.archive.org/web/20210719215421/https://www.w3.org/TR/2002/WD-XHTMLplusMathMLplusSVG-20020809/ |date=2021-07-19 }}. W3C. August 9, 2002. Retrieved 2021-08-16.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[ADDML]]&lt;br /&gt;
* [[Comparison of document markup languages]]&lt;br /&gt;
* [[Curl (programming language)]]&lt;br /&gt;
* [[List of markup languages]]&lt;br /&gt;
* [[Programming language]]&lt;br /&gt;
* [[Modeling language]]&lt;br /&gt;
* [[Plain text]]&lt;br /&gt;
* [[Formatted text]]&lt;br /&gt;
* [[ReStructuredText]]&lt;br /&gt;
* [[SCRIPT (markup)]]&lt;br /&gt;
* [[Style sheet language]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{Notelist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{Spoken Wikipedia|Markup_language.ogg|date=2006-05-06}}&lt;br /&gt;
{{Wiktionary|markup language}}&lt;br /&gt;
{{Commons category|Markup languages}}&lt;br /&gt;
{{Markup languages}}&lt;br /&gt;
{{Computer language}}&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Markup languages| ]]&lt;br /&gt;
[[Category:Formal languages]]&lt;br /&gt;
[[Category:American inventions]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Belbury</name></author>
	</entry>
</feed>