XHTML
| XHTML | |
|---|---|
| Filename extension |
.xhtml, .xht, .xml, .html, .htm |
| Internet media type |
application/xhtml+xml |
| Uniform Type Identifier (UTI) | public.xhtml |
| UTI conformation | public.xml |
| Developed by | WHATWG |
| Initial release | 26 January 2000 |
| Type of format | Markup language |
| Extended from | XML, HTML |
| Standard | HTML LS |
| Open format? | Yes |
| HTML |
|---|
| HTML and variants |
|
| HTML elements and attributes |
|
| Editing |
|
| Character encodings and language |
|
| Document and browser models |
|
| Client-side scripting and APIs |
|
| Graphics and Web3D technology |
| Comparisons |
|
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]
- ^ 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.
- ^ "Writing documents in the XML syntax". HTML Living Standard. WHATWG. Archived from the original on 7 July 2023.
- ^ "The XML syntax". HTML: The Living Standard. WHATWG. Archived from the original on 5 June 2023.
- ^ "HTML vs. XHTML". whatwg.org.
- ^ "The WHATWG Blog". whatwg.org. 25 July 2010.