Comparison of XHTML Mobile Profile and XHTML Basic
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] |
|---|---|---|---|---|---|
| Structure | body, head, html, title | (same) | (same) | (same) | (same) |
| Text | abbr, 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) |
| Hypertext | a | (same) | (same) | (same) | (same) |
| List | dl, dt, dd, ol, ul, li | (same) | (same) | (same) | (same) |
| (Basic) Forms | form, input, label, option, select, textarea | (adds) fieldset, optgroup | (same) | (adds) button, legend | (same) |
| Tables | caption, table, td, th, tr | (same) | (same) | (same) | (same) |
| Image | img | (same) | (same) | (same) | (same) |
| Object | object, param | (same) | (same) | (same) | (same) |
| Metainformation | meta | (same) | (same) | (same) | (same) |
| Link | link | (same) | (same) | (same) | (same) |
| Base | base | (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) |
Key
(same / adds / removes) refers to next column to left
[2] XHTML Basic W3C Recommendation 19 December 2000 - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
[3] XHTML MP 29-Oct-2001 - <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
[4] XHTML MP Candidate Version 1.1 - 16 Aug 2004 - <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.wapforum.org/DTD/xhtml-mobile11.dtd">
[5] XHTML MP Candidate Version 1.2 - 18 Jan 2005 - <!DOCTYPE html PUBLIC "-//OMA//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
[6] XHTML Basic 1.1 W3C Editors Draft 1 Nov 2006 - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">




Posted by esbenr 32 weeks 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 32 weeks ago
Oups! Forgot the link:
http://www.w3.org/TR/xhtml-basic/
Posted by James Pearce 12 weeks ago
The XHTML-MP 1.1 DTD here is out of date. To declare an XML document as XHTML-MP 1.1, use this: