XHTML Modules
- Previous Page XHTML Validation
- Next Page XHTML Attributes
The XHTML Modularization Model defines the modules of XHTML.
Reasons for XHTML Modularization
XHTML is a simple yet comprehensive language. XHTML includes most of the features needed by website developers.
For some special purposes, XHTML is too large and complex, while for other purposes, it is too simple.
By dividing XHTML into several modules, W3C has created a series of small and well-defined XHTML elements that can be applied independently to simple devices and can also be integrated with other XML standards into large and more complex applications.
By using modularized XHTML, product and software designers can:
- Choose elements supported by a particular device.
- Extend XHTML with XML without breaking the XHTML standard.
- Simplify XHTML for small devices.
- Extend XHTML for complex applications by adding new XML features (such as MathML, SVG, voice, and multimedia).
- Define XHTML frameworks, such as XHTML Basic (a subset of XHTML for mobile devices).
XHTML Modules
W3C has divided the definition of XHTML into 28 models:
Module Name | Description |
---|---|
Applet Module (Applet模块) | Define the deprecated applet element. |
Base Module (基础模块) | Define basic elements. |
Basic Forms Module (Basic Forms Module) | Define basic form elements (forms). |
Basic Tables Module (Basic Tables Module) | Define basic table elements (table). |
Bi-directional Text Module (Bi-directional Text Module) | Define the bdo element. |
Client Image Map Module (Client-side Image Map Module) | Define client-side image map elements (image map elements). |
Edit Module (Edit Module) | Define editing elements for deletion and insertion. |
Forms Module (Forms Module) | Define all elements used in forms. |
Frames Module (Frames Module) | Define the frameset element. |
Hypertext Module (Hypertext Module) | Define the a element. |
Iframe Module (Inline Frame Module) | Define the iframe element. |
Image Module (Image Module) | Define the image element (img). |
Intrinsic Events Module () | Define event attributes (event), such as onblur and onchange. |
Legacy Module (Legacy Module) | Define deprecated elements and attributes. |
Link Module (Link Module) | Define the link (link) element. |
List Module (List Module) | Define list elements ol, li, ul, dd, dt, and dl. |
Metainformation Module (Metainformation Module) | Define the meta element. |
Name Identification Module (Name Identification Module) | Define the deprecated name attribute. |
Object Module (Object Module) | Define object elements (object) and param elements. |
Presentation Module (Presentation Module) | Define presentation elements such as b and i. |
Scripting Module (Scripting Module) | Define the script (script) and no-script (noscript) elements. |
Server Image Map Module (Server-side Image Map Module) | Define the server-side image map (server side image map) element |
Structure Module (Structure Module) | Define the following elements: html, head, title, and body. |
Style Attribute Module (Style Attribute Module) | Define style attributes. |
Style Sheet Module (Style Sheet Module) | Define style elements. |
Tables Module (Tables Module) | Define elements used in tables. |
Target Module (Target Module) | Define the target attribute. |
Text Module (Text Module) | Define text container elements (text container), such as p and h1. |
*Note:Discontinued elements should not be used in XHTML.
- Previous Page XHTML Validation
- Next Page XHTML Attributes