XHTML
XHTML
XHTML (eXtensible HyperText Markup Language) is a markup language that follows the rules of XML while representing the structure and content of web pages. It is a stricter and more modular version of HTML (HyperText Markup Language) and conforms to XML syntax guidelines. XHTML documents are well-formed XML documents, meaning they must adhere to strict rules regarding element nesting, attribute quoting, and case sensitivity. XHTML is designed to be compatible with existing HTML browsers, ensuring backward compatibility while providing the advantages of XML, such as extensibility and interoperability. XHTML documents can be parsed and processed by XML tools, allowing for greater flexibility in document manipulation and transformation. Despite being succeeded by HTML5, XHTML remains relevant for certain applications requiring strict adherence to XML standards, such as mobile development and document interchange.
- Snippet from Wikipedia: XHTML
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.
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" and being developed as an XML adaptation of the HTML living standard.