XHTML™ 2.0 (original) (raw)
W3C Working Draft 27 May 2005
This version:
http://www.w3.org/TR/2005/WD-xhtml2-20050527
Latest version:
Previous version:
http://www.w3.org/TR/2004/WD-xhtml2-20040722
Diff-marked version:
<xhtml2-diff.html>
Editors:
Jonny Axelsson, Opera Software
Mark Birbeck, x-port.net
Micah Dubinko, Invited Expert
Beth Epperson, Websense
Masayasu Ishikawa, W3C
Shane McCarron, Applied Testing and Technology
Ann Navarro, WebGeek, Inc.
Steven Pemberton, CWI (HTML Working Group Chair)
This document is also available in these non-normative formats: Single XHTML file, PostScript version, PDF version, ZIP archive, and Gzip'd TAR archive.
Copyright ©2005 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
Abstract
XHTML 2 is a general-purpose markup language designed for representing documents for a wide range of purposes across the World Wide Web. To this end it does not attempt to be all things to all people, supplying every possible markup idiom, but to supply a generally useful set of elements.
Status of This Document
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This document is the seventh public Working Draft of this specification. It should in no way be considered stable, and should not be normatively referenced for any purposes whatsoever. This version includes an early implementation of XHTML 2.0 in RELAX NG [RELAXNG], but does not include the implementations in DTD or XML Schema form. Those will be included in subsequent versions, once the content of this language stabilizes.
Formal issues and error reports on this specification shall be submitted to www-html-editor@w3.org (archive). It is inappropriate to send discussion email to this address. Public discussion may take place on www-html@w3.org (archive). To subscribe send an email to www-html-request@w3.org with the word subscribe in the subject line.
This document has been produced by the W3C HTML Working Group (members only) as part of the W3C HTML Activity. The goals of the HTML Working Group are discussed in the HTML Working Group charter.
This document was produced under the 24 January 2002 CPP as amended by the W3C Patent Policy Transition Procedure. The Working Group maintains a public list of patent disclosures relevant to this document; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) with respect to this specification should disclose the information in accordance with section 6 of the W3C Patent Policy.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than "work in progress."
Quick Table of Contents
- 1. Introduction
- 2. Terms and Definitions
- 3. Conformance Definition
- 4. The XHTML 2.0 Document Type
- 5. Module Definition Conventions
- 6. XHTML Attribute Collections
- 7. XHTML Document Module
- 8. XHTML Structural Module
- 9. XHTML Text Module
- 10. XHTML Hypertext Module
- 11. XHTML List Module
- 12. XHTML Core Attributes Module
- 13. XHTML Hypertext Attributes Module
- 14. XHTML I18N Attribute Module
- 15. XHTML Bi-directional Text Attribute Module
- 16. XHTML Edit Attributes Module
- 17. XHTML Embedding Attributes Module
- 18. XHTML Handler Module
- 19. XHTML Image Module
- 20. XHTML Image Map Attributes Module
- 21. XHTML Media Attribute Module
- 22. XHTML Metainformation Module
- 23. XHTML Metainformation Attributes Module
- 24. XHTML Object Module
- 25. XHTML Role Access Module
- 26. Ruby Module
- 27. XHTML Style Attribute Module
- 28. XHTML Style Sheet Module
- 29. XHTML Tables Module
- 30. XForms Module
- 31. XML Events Module
- A. Changes from XHTML 1.1
- B. XHTML 2.0 RELAX NG Definition
- C. XHTML RELAX NG Module Implementations
- D. XHTML 2.0 Schema
- E. XHTML Schema Module Implementations
- F. XHTML 2.0 Document Type Definition
- G. XHTML DTD Module Implementations
- H. Style sheet for XHTML 2
- I. List of Elements
- J. List of Attributes
- K. Cross-reference Index
- L. References
- M. Acknowledgements
List of Issues
- [PR #7336] Identifying XHTML version in ansence of DTDs
- [PR #7442] xml:id
- [PR #7661] [XHTML2] Constraining attribute relationship
- Need a normative definition for the version attribute
- [PR #7665] [XHTML2] Proposal: block[@kind] element
- [PR #7714] Concering XHTML 2.0's blockquote and blockcode
- [PR #7662] Navigation Lists
- [PR #7663] [XHTML2] 11.3. The ol , and ul elements
- [PR #7664] WD-xhtml2-20040722: Some navigation list requirements (IMHO)
- [PR #670] Entity management: do we still need it?
- [PR #671] Character entities: do we still need them?
Full Table of Contents
- 1. Introduction
- 1.1. What is XHTML 2?
* 1.1.1. Design Aims
* 1.1.2. Backwards compatibility
* 1.1.3. XHTML 2 and Presentation
* 1.1.4. XHTML 2 and Linking - 1.2. Major Differences with XHTML 1
- 1.3. What are the XHTML 2 Modules?
- 1.1. What is XHTML 2?
- 2. Terms and Definitions
- 3. Conformance Definition
- 4. The XHTML 2.0 Document Type
- 4.1. Issues
- 5. Module Definition Conventions
- 5.1. Module Structure
- 5.2. Abstract Module Definitions
- 5.3. Syntactic Conventions
- 5.4. Content Types
- 5.5. Attribute Types
- 6. XHTML Attribute Collections
- 6.1. Issues
- 7. XHTML Document Module
- 7.1. The html element
- 7.2. The head element
- 7.3. The title element
- 7.4. The body element
- 8. XHTML Structural Module
- 8.1. The address element
- 8.2. The blockcode element
- 8.3. The blockquote element
- 8.4. The div element
- 8.5. The heading elements
- 8.6. The p element
- 8.7. The pre element
- 8.8. The section element
- 8.9. The separator element
- 8.10. Issues
- 9. XHTML Text Module
- 9.1. The abbr element
- 9.2. The cite element
- 9.3. The code element
- 9.4. The dfn element
- 9.5. The em element
- 9.6. The kbd element
- 9.7. The l element
- 9.8. The quote element
- 9.9. The samp element
- 9.10. The span element
- 9.11. The strong element
- 9.12. The sub element
- 9.13. The sup element
- 9.14. The var element
- 9.15. Issues
- 10. XHTML Hypertext Module
- 10.1. The a element
- 11. XHTML List Module
- 11.1. Definition lists: the dl, di, dt, and dd elements
- 11.2. The nl element
- 11.3. The ol and ul elements
- 11.4. The li element
- 11.5. The label element
- 11.6. Issues
- 12. XHTML Core Attributes Module
- 13. XHTML Hypertext Attributes Module
- 14. XHTML I18N Attribute Module
- 15. XHTML Bi-directional Text Attribute Module
- 16. XHTML Edit Attributes Module
- 16.1. Edit Collection
- 17. XHTML Embedding Attributes Module
- 18. XHTML Handler Module
- 18.1. The handler element
* 18.1.1. Rules for processing handlers
* 18.1.2. Declaration of a handler language
* 18.1.3. Dynamic modification of documents
- 18.1. The handler element
- 19. XHTML Image Module
- 19.1. The img element
- 20. XHTML Image Map Attributes Module
- 21. XHTML Media Attribute Module
- 22. XHTML Metainformation Module
- 22.1. The link element
* 22.1.1. Forward and reverse links
* 22.1.2. Links and search engines - 22.2. The meta element
* 22.2.1. meta and search engines - 22.3. Literals and Resources
- 22.4. Document Properties
* 22.4.1. Literals
* 22.4.2. Resources
* 22.4.3. Making Use of External Lists of Properties - 22.5. Properties of Other Resources
* 22.5.1. Resources Within the Containing Document
* 22.5.2. External Resources - 22.6. Chaining Metadata
- 22.1. The link element
- 23. XHTML Metainformation Attributes Module
- 23.1. Metadata Attribute Collection
- 23.2. Meta and RDF
- 23.3. Metadata as Content
- 23.4. Mapping Lexical Content
- 24. XHTML Object Module
- 24.1. The object element
* 24.1.1. Defining terminology
* 24.1.2. Basic Information for Object Handlers
* 24.1.3. Rules for processing objects - 24.2. The param element
* 24.2.1. Referencing object data
* 24.2.2. Object element declarations and instantiations - 24.3. The standby element
- 24.1. The object element
- 25. XHTML Role Access Module
- 25.1. The access element
- 25.2. Role Collection
- 26. Ruby Module
- 27. XHTML Style Attribute Module
- 28. XHTML Style Sheet Module
- 28.1. The style element
* 28.1.1. External style sheets
* 28.1.2. Preferred and alternate style sheets
* 28.1.3. Specifying external style sheets
- 28.1. The style element
- 29. XHTML Tables Module
- 29.1. The caption element
- 29.2. The col and colgroup elements
* 29.2.1. Calculating the number of columns in a table - 29.3. The summary element
- 29.4. The table element
* 29.4.1. Visual Rendering
* 29.4.2. Table directionality
* 29.4.3. Table rendering by non-visual user agents - 29.5. The tbody element
- 29.6. The td and th elements
* 29.6.1. Cells that span several rows or columns - 29.7. The thead and tfoot elements
- 29.8. The tr element
- 30. XForms Module
- 30.1. Core XForms
- 30.2. XForms Actions
- 30.3. Form Controls
- 30.4. Group
- 30.5. Switch
- 30.6. Repeat
- 30.7. XForms Repeat Attribute Collection
- 30.8. Other Attribute Collections
- 31. XML Events Module
- 31.1. Events
- A. Changes from XHTML 1.1
- B. XHTML 2.0 RELAX NG Definition
- B.0.1. RELAX NG XHTML 2.0 Driver
- C. XHTML RELAX NG Module Implementations
- C.1. XHTML Module Implementations
* C.1.1. Attribute Collections
* C.1.2. Document
* C.1.3. Structural
* C.1.4. Text
* C.1.5. Hypertext
* C.1.6. List
* C.1.7. Core Attributes
* C.1.8. Hypertext Attributes
* C.1.9. I18N Attribute
* C.1.10. Bi-directional Text Attribute
* C.1.11. Edit Attributes
* C.1.12. Embedding Attributes
* C.1.13. Handler
* C.1.14. Image Map Attributes
* C.1.15. Metainformation Attributes
* C.1.16. Metainformation
* C.1.17. Object
* C.1.18. Style Attribute
* C.1.19. Style Sheet
* C.1.20. Tables - C.2. XHTML RELAX NG Support Modules
* C.2.1. Datatypes
* C.2.2. Events
* C.2.3. Param
* C.2.4. Caption - C.3. RELAX NG External Modules
* C.3.1. Ruby
* C.3.2. Ruby Driver for Full Ruby Markup
* C.3.3. XML Events
* C.3.4. XML Schema instance
- C.1. XHTML Module Implementations
- D. XHTML 2.0 Schema
- E. XHTML Schema Module Implementations
- F. XHTML 2.0 Document Type Definition
- F.1. Issues
- G. XHTML DTD Module Implementations
- H. Style sheet for XHTML 2
- I. List of Elements
- J. List of Attributes
- K. Cross-reference Index
- L. References
- L.1. Normative References
- L.2. Informative References
- M. Acknowledgements