[XHTML Tutorial] 走向XHTML标准 (7)(XHTML Modularization)

来源:互联网 发布:php考勤系统源码免费 编辑:程序博客网 时间:2024/05/22 05:02
原文地址:http://www.w3schools.com/xhtml/xhtml_modules.asp
翻译:范维肖


Why XHTML Modularization?
为什么要模块化设计XHTML呢?
XHTML is a simple but large language, containing most of the functionality a web developer will need.
XHTML虽然简单,但是它的内容很多,包括了一个网络设计师需要的绝大多数功能。
For some purposes XHTML is too large and complex, and for other purposes it is much too simple.
XHTML一方面内容繁多复杂,但是从另一个角度来看它却是非常简单的
By splitting XHTML into modules, the W3C (World Wide web Consortium) has created small and well-defined sets of XHTML elements that can be used separately for simple devices as well as combined with other XML standards into larger and more complex applications.
为了将XHTML分割成小的模块,W3C已经建立起了小型大已经定义好了的一系列XHTML元素,他们独立的能被与其他XML标准合并成的大型的更复杂的程序的简单设备所使用。
With modular XHTML, product and application designers can:
通过XHTML模型,程序设计师能够做下面的事情:
1.Choose the elements to be supported by a device using standard XHTML building blocks.
2.Add extensions to XHTML, using XML, without breaking the XHTML standard.
3.Simplify XHTML for devices like hand held computers, mobile phones, TV, and home appliances.
4.Extend XHTML for complex applications by adding new XML functionality (like MathML, SVG, Voice and Multimedia).
5.Define XHTML profiles like XHTML Basic (a subset of XHTML for mobile devices).
1。选择那些能够被使用XHTML构建块标准的设备所支持的元素。
2。在遵循XHTML标准的同时使用XML可以对XHTML扩展。
3。简单化的XHTML可以应用于像掌上电脑、移动电话、电视和家用电器的设备。
4。通过加入心的XML功能(像声音、多媒体的)将XHTML延续到复杂程序的设计上。
5。像XHTML基本(XHTML对于移动设备的一个子集)那样来定义XHTML的轮廓。

XHTML Modules

Module nameDescription
Applet ModuleDefines the deprecated* applet element.
Base ModuleDefines the base element.
Basic Forms ModuleDefines the basic forms elements.
Basic Tables ModuleDefines the basic table elements.
Bi-directional Text ModuleDefines the bdo element.
Client Image Map ModuleDefines browser side image map elements.
Edit ModuleDefines the editing elements del and ins.
Forms ModuleDefines all elements used in forms.
Frames ModuleDefines the frameset elements.
Hypertext ModuleDefines the a element.
Iframe ModuleDefines the iframe element.
Image ModuleDefines the img element.
Intrinsic Events ModuleDefines event attributes like onblur and onchange.
Legacy ModuleDefines deprecated* elements and attributes.
Link ModuleDefines the link element.
List ModuleDefines the list elements ol, li, ul, dd, dt, and dl.
Metainformation ModuleDefines the meta element.
Name Identification ModuleDefines the deprecated* name attribute.
Object ModuleDefines the object and param elements.
Presentation ModuleDefines presentation elements like b and i.
Scripting ModuleDefines the script and noscript elements.
Server Image Map ModuleDefines server side image map elements.
Structure ModuleDefines the elements html, head, title and body.
Style Attribute ModuleDefines the style attribute.
Style Sheet ModuleDefines the style element.
Tables ModuleDefines the elements used in tables.
Target ModuleDefines the target attribute.
Text ModuleDefines text container elements like p and h1.

* Deprecated elements should not be used in XHTML.

原创粉丝点击