From Wikipedia, the free encyclopedia

XHTML Basic is an XML-based structured markup language primarily used for simple (mainly handheld) user agents, typically mobile devices.

XHTML Basic is a subset of XHTML 1.1, defined using XHTML Modularization including a reduced set of modules for document structure, images, forms, basic tables, and object support. XHTML Basic is suitable for mobile phones, PDAs, pagers, and settop boxes.

It has replaced WML and C-HTML as more compliant user agents have been developed.

One large advantage XHTML Basic has over WML and C-HTML is that XHTML Basic pages can be rendered differently in web browsers and on handhelds, without the need for two different versions of the same page.

The initial specification had been released in 2000. In 2006, the specification was revised to version 1.1. Six new features have been incorporated into the language in order to better serve the small-device community. The latest supersedition of the specification held by the W3C has been performed in 2018.[1]


To 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"

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"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <p>Hello <a href="http://example.org/">world</a>.</p>

Served with a MIME type of "application/xhtml+xml".


XHTML-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]

External links[edit]


  1. ^ "XHTML™ Basic 1.1 - Second Edition". www.w3.org. Retrieved 2022-01-25.
  2. ^ "XHTML-Print, W3C Recommendation 20 September 2006". World Wide Web Consortium. 2006-09-20. Retrieved 2008-07-19.