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.

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.[1]

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"[2][3] and being developed as an XML adaptation of the HTML living standard.[4][5]

  1. ^ 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.
  2. ^ "Writing documents in the XML syntax". HTML Living Standard. WHATWG. Archived from the original on 7 July 2023.
  3. ^ "The XML syntax". HTML: The Living Standard. WHATWG. Archived from the original on 5 June 2023.
  4. ^ "HTML vs. XHTML". whatwg.org.
  5. ^ "The WHATWG Blog". whatwg.org.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne