background image

Comparison of XHTML Mobile Profile and XHTML Basic

Section Feature Image
Posted by Jo Rabin - 28 Nov 2006
Twitter share icon Facebook share icon Google Plus share icon

This article describes the differences between some different flavours of XHTML. The table covers XHTML Mobile Profile and XHTML Basic, and some different versions of each.

Version 1.2 (update), 29 Jan 2007

Jo Rabin

Some references are works in progress and are subject to change

Module [1]Basic 1.0 [2]MP 1.0 [3]MP 1.1 [4]MP 1.2 [5]Basic 1.1 1 Nov [6]
Structurebody, head, html, title(same)
Textabbr, acronym, address, blockquote, br, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var(same)(same)(same)(same)
Listdl, dt, dd, ol, ul, li(same)(same)(same)(same)
(Basic) Formsform, input, label, option, select, textarea(adds) fieldset, optgroup (same)(adds) button,  legend(same)
Tablescaption, table, td, th, tr(same)
Objectobject, param(same)(same)(same)(same)
Intrinsic Events(none)(same)onload (M), onunload, onclick (M), ondblclick, onnmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onfocus, onblur,  onkeypress, onkeydown, onkeyup, onsubmit (M), onreset (M), onselect, onchange(same)(same - level of support not discussed)
Legacy(none)start attribute on ol,
value attribute on li   
(same)(same)(removes) start attribute on ol
Presentation(none)b, big, hr, i, small (same)(same)(adds) sub, sup, tt
Script(none)(same)(adds) noscript, script(same)(same)
Style Sheet(none)style element(same)(same)(same)
Style Attribute(none) style attribute(same)(same)(same) deprecated
Text Input Modes (not part of [1])(none)(same)(same)inputmode attribute on input, textarea(same)
Target Module (not part of [1])(none)(same)(same)(same)(adds) target attribute (O)


(same / adds / removes) refers to next column to left

[1] Modularization of XHTML

[2] XHTML Basic W3C Recommendation 19 December 2000 - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "">

[3] XHTML MP 29-Oct-2001 - <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "">

[4] XHTML MP Candidate Version 1.1 - 16 Aug 2004 - <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "">

[5] XHTML MP Candidate Version 1.2 - 18 Jan 2005 - <!DOCTYPE html PUBLIC "-//OMA//DTD XHTML Mobile 1.2//EN" "">

[6] XHTML Basic 1.1 W3C Editors Draft 1 Nov 2006  - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "">

Posted by Jo Rabin - 28 Nov 2006

Jo Rabin's picture

CTO at dotMobi, co-Chair of the W3C Mobile Web Best Practices Working Group, co-Organiser of MobileMonday London.

Posted by esbenr 7 years ago

At July 2008 the XHTML Basic 1.1 became a W3C Recommendation.
I think this should be added to the article (in the bottom)

Posted by esbenr 7 years ago

Oups! Forgot the link:

Posted by James Pearce 6 years ago

The XHTML-MP 1.1 DTD here is out of date. To declare an XML document as XHTML-MP 1.1, use this:

<?xml version='1.0' encoding='UTF-8'?>
<html> ...