XHTML

XHTML
Filename extension
.xhtml, .xht,
.xml, .html, .htm
Internet media type
application/xhtml+xml
Uniform Type Identifier (UTI)public.xhtml
UTI conformationpublic.xml
Developed byWHATWG
Initial release26 January 2000 (2000-01-26)
Type of formatMarkup language
Extended fromXML, HTML
StandardHTML LS
Open format?Yes

Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated.[1]

While HTML, prior to HTML5, was defined as an application of Standard Generalized Markup Language (SGML), a flexible markup language framework, XHTML is an application of XML, a more restrictive subset of SGML. XHTML documents are well-formed and may therefore be parsed using standard XML parsers, unlike HTML, which requires a lenient HTML-specific parser.[2]

XHTML 1.0 became a World Wide Web Consortium (W3C) recommendation on 26 January 2000. XHTML 1.1 became a W3C recommendation on 31 May 2001. XHTML is now referred to as "the XML syntax for HTML"[3][4] and being developed as an XML adaptation of the HTML living standard.[5][6]

  1. ^ "SGML, XML, and XHTML". Adobe Help Center. 2016-09-30. Retrieved 2024-06-13. Extensible Hypertext Markup Language (XHTML) is an extension of HTML that is based on XML and is designed to work with XML-based applications.
  2. ^ Graff, Eliot (7 May 2014). "Polyglot Markup: A robust profile of the HTML5 vocabulary". W3C. Archived from the original on 16 June 2022. Retrieved 17 October 2015.
  3. ^ "Writing documents in the XML syntax". HTML Living Standard. WHATWG. Archived from the original on 7 July 2023.
  4. ^ "The XML syntax". HTML: The Living Standard. WHATWG. Archived from the original on 5 June 2023.
  5. ^ "HTML vs. XHTML". whatwg.org.
  6. ^ "The WHATWG Blog". whatwg.org.