Comparison of XHTML Mobile Profile and XHTML Basic
This article describes the differences between some differentflavours of XHTML. The table covers XHTML Mobile Profile and XHTML Basic, andsome 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, | (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 BasicW3C 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">
本文比较了XHTML的不同版本,特别是XHTML Basic与XHTML Mobile Profile之间的区别。涵盖了从结构到样式的各个方面,并详细说明了不同版本中新增、相同及移除的功能。
154

被折叠的 条评论
为什么被折叠?



