It has been suggested that XHTML Mobile Profile and XHTML Basic be merged into this article. (Discuss) Proposed since November 2023.
Markup language which places HTML in XML form
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 (2000-01-26)
Type of format
Markup language
Extended from
XML, HTML
Standard
HTML LS
Open format?
Yes
HTML
Dynamic HTML
HTML5
article
audio
canvas
video
XHTML
Basic
Mobile Profile
HTML element
meta
div and span
blink
marquee
HTML attribute
alt attribute
HTML frame
HTML editor
Character encodings
named characters
Unicode
Language code
Document Object Model
Browser Object Model
Style sheets
CSS
Font family
Web colors
JavaScript
WebCL
Web3D
WebGL
WebGPU
WebXR
W3C
Validator
WHATWG
Quirks mode
Web storage
Rendering engine
Comparisons
Document markup languages
Comparison of browser engines
v
t
e
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.
Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText...
on HTML5 and XHTML5. XHTML 2.0 was incompatible with XHTML 1.x and, therefore, would be more accurately characterized as an XHTML-inspired new language...
XHTML Profiles, such as XHTML 1.1, XHTML Basic for mobile devices, and XHTML Print for sending to printers, the methodology is independent of XHTML,...
needed); PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent" in XHTML 1.0; HTMLsymbol maps to: PUBLIC "-//W3C//ENTITIES...
by computers and devices such as web browsers, parsers, etc., without XHTML's rigidity; and to remain backward-compatible with older software. HTML5...
W3C Recommendation that adds a set of attribute-level extensions to HTML, XHTML and various XML-based document types for embedding rich metadata within...
mobile phones, PDAs, pagers, and set-top boxes.. XHTML Basic is a subset of XHTML 1.1, defined using XHTML Modularization including a reduced set of modules...
speaking, the most recent XHTML standard, XHTML 1.1 (2001), does not include frames at all; it is approximately equivalent to XHTML 1.0 Strict, but also includes...
Meta elements are tags used in HTML and XHTML documents to provide structured metadata about a Web page. They are part of a web page's head section. Multiple...
devices. It is an XHTML document type defined by the Open Mobile Alliance. XHTML-MP is derived from XHTML Basic 1.0 by adding XHTML Modules, with later...
display XHTML documents served as application/xhtml+xml. IE9 and later versions are compliant. See also the discussion of this issue in the XHTML article...
the World Wide Web Consortium, which maintains the XHTML specification, suggests that authors of XHTML documents could consider omitting the XML declaration...
standard. The EPUB format is implemented as an archive file consisting of XHTML files carrying the content, along with images and other supporting files...
Java XML/XHTML/HTML5 template engine that can work both in web (servlet-based) and non-web environments. It is better suited for serving XHTML/HTML5 at...
Opera, and Apple rejected XHTML and created the WHATWG which developed HTML5. In 2009, the W3C conceded and abandoned XHTML. In 2019, it ceded control...
XML, using the abbreviation XHTML (Extensible HyperText Markup Language). The language specification requires that XHTML Web documents be well-formed...
"xhtml:" prefix to the XHTML namespace: xmlns:xhtml="http://www.w3.org/1999/xhtml" Any element or attribute whose name starts with the prefix "xhtml:"...
specifications such as with SVG (as has been done with SVG animation) and with XHTML (as done with HTML+TIME). As of 2008[update], the W3C Recommendation for...
following XHTML (whitespace has been adjusted here for clarity): <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> <head>...
devices process XHTML Mobile Profile (XHTML MP), the markup language defined in WAP 2.0. It is a subset of XHTML and a superset of XHTML Basic. A version...
org/Math/DTD/mathml2/xhtml-math11-f.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Example of MathML embedded in an XHTML file</title>...
including RSS, Atom, Office Open XML, OpenDocument, SVG, COLLADA, and XHTML. XML also provides the base language for communication protocols such as...