XHTML Basic
Encyclopedia
XHTML Basic is an XML
-based structured markup language
primarily used for simple (mainly handheld) user agent
s, 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 phone
s, PDA
s, pager
s, and settop boxes
.
It will replace WML
and C-HTML
as more compliant user agents are developed.
One large advantage XHTML Basic has over WML and C-HTML is that XHTML Basic pages can be rendered differently in web browser
s and on handhelds, without the need for two different versions of the same page.
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.
, or DOCTYPE:
A complete valid
and well-formed example is:
Served with a MIME
type of "application/xhtml+xml".
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
-based structured markup language
Markup language
A markup language is a modern system for annotating a text in a way that is syntactically distinguishable from that text. The idea and terminology evolved from the "marking up" of manuscripts, i.e. the revision instructions by editors, traditionally written with a blue pencil on authors' manuscripts...
primarily used for simple (mainly handheld) user agent
User agent
In computing, a user agent is a client application implementing a network protocol used in communications within a client–server distributed computing system...
s, typically mobile devices.
XHTML Basic is a subset of XHTML 1.1, defined using XHTML Modularization
XHTML Modularization
XHTML modularization is a methodology for producing modularized markup languages in a number of different schema languages so that the modules can easily be plugged together to create markup languages....
including a reduced set of modules for document structure, images, forms, basic tables, and object support. XHTML Basic is suitable for mobile phone
Mobile phone
A mobile phone is a device which can make and receive telephone calls over a radio link whilst moving around a wide geographic area. It does so by connecting to a cellular network provided by a mobile network operator...
s, PDA
Personal digital assistant
A personal digital assistant , also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. Current PDAs often have the ability to connect to the Internet...
s, pager
Pager
A pager is a simple personal telecommunications device for short messages. A one-way numeric pager can only receive a message consisting of a few digits, typically a phone number that the user is then requested to call...
s, and settop boxes
Interactive television
Interactive television describes a number of techniques that allow viewers to interact with television content as they view it.- Definitions :...
.
It will replace WML
Wireless Markup Language
Wireless Markup Language , based on XML, is a markup language intended for devices that implement the Wireless Application Protocol specification, such as mobile phones. It provides navigational support, data input, hyperlinks, text and image presentation, and forms, much like HTML...
and C-HTML
C-HTML
C-HTML , also called i-mode-HTML, is a subset of HTML for small information devices, such as first generation smart phones and PDAs, such as DoCoMo's i-mode mobile phones used in Japan...
as more compliant user agents are developed.
One large advantage XHTML Basic has over WML and C-HTML is that XHTML Basic pages can be rendered differently in web browser
Web browser
A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier and may be a web page, image, video, or other piece of content...
s and on handhelds, without the need for two different versions of the same page.
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.
DOCTYPE
To validate as XHTML Basic, a document must contain the following Document Type DeclarationDocument Type Declaration
A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document with a Document Type Definition...
, 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
Valid XML document
A valid XML document is defined by the W3C as a well-formed XML document which also conforms to the rules of a Document Type Definition or an XML Schema , which W3C supports as an alternate to DTD....
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
MIME
Multipurpose Internet Mail Extensions is an Internet standard that extends the format of email to support:* Text in character sets other than ASCII* Non-text attachments* Message bodies with multiple parts...
type of "application/xhtml+xml".
XHTML-Print
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.See also
- XHTMLXHTMLXHTML is a family of XML markup languages that mirror or extend versions of the widely-used Hypertext Markup Language , the language in which web pages are written....
- List of document markup languages
- Comparison of document markup languagesComparison of document markup languagesThe following tables compare general and technical information for a number of document markup languages. Please see the individual markup languages' articles for further information.-General information:...
External links
- XHTML Basic
- An Overview of Mobile Versions of XHTML
- W3C Mobile Web Best Practices (for XHTML Basic 1.1)