XHTML Basic
XHTML Basic is an XML-based markup language designed for simple user agents with limited computing power, such as early mobile phones, PDAs, pagers, and set-top boxes.
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
XHTML Basic is an XML-based markup language designed for simple user agents with limited computing power, such as early mobile phones, PDAs, pagers, and set-top boxes. It is a subset of XHTML 1.1, defined using XHTML Modularization, containing a reduced set of modules for document structure, images, basic forms, tables, and objects.
XHTML Basic was designed to replace proprietary and specialized formats like WML and C-HTML, allowing developers to serve content to both desktop web browsers and handheld devices using a single codebase.
The initial specification became a W3C Recommendation in December 2000. Version 1.1, published as a Recommendation in July 2008, converged XHTML Basic with the Open Mobile Alliance's XHTML Mobile Profile. In November 2010, the Second Edition added an XML Schema definition and the lang attribute to improve accessibility. With the advent of modern mobile browsers and the widespread adoption of HTML5, dedicated mobile markup subsets fell out of use. On 27 March 2018, the W3C officially marked the specification as superseded.[1]
Contents
DOCTYPE
edit edit sourceTo validate as XHTML Basic, a document must contain the following Document Type Declaration, or DOCTYPE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
A complete valid and well-formed example is:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello</title> </head> <body> <p>Hello <a href="http://example.org/">world</a>.</p> </body> </html>Served with a MIME type of application/xhtml+xml.
XHTML-Print
edit edit sourceXHTML-Print, which became a W3C Recommendation in September 2006, is a specialized version of XHTML Basic designed for documents printed from information appliances to low-end printers.[2]
See also
edit edit source- XHTML
- XHTML Mobile Profile
- List of document markup languages
- Comparison of document markup languages
External links
edit edit source- XHTML Basic
- An Overview of Mobile Versions of XHTML
- W3C Mobile Web Best Practices (for XHTML Basic 1.1)
References
edit edit source- ^ "XHTML™ Basic 1.1 - Second Edition". www.w3.org. Retrieved 2022-01-25. Wikipedia revision 1372037633, retrieved 2026-11-20
- ^ "XHTML-Print, W3C Recommendation 20 September 2006". World Wide Web Consortium. 2006-09-20. Retrieved 2008-07-19. Wikipedia revision 1372037633, retrieved 2026-11-20
Text derived from https://en.wikipedia.org/w/index.php?oldid=1372037633 under CC BY-SA 4.0; modifications have been made.
References
- ↩Wikipedia “XHTML Basic” publication date (×1) · confidence 0.95 revision URL