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

类别:网站制作 点击:0 评论:0 推荐:
原文地址: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 name Description Applet Module Defines the deprecated* applet element. Base Module Defines the base element. Basic Forms Module Defines the basic forms elements. Basic Tables Module Defines the basic table elements. Bi-directional Text Module Defines the bdo element. Client Image Map Module Defines browser side image map elements. Edit Module Defines the editing elements del and ins. Forms Module Defines all elements used in forms. Frames Module Defines the frameset elements. Hypertext Module Defines the a element. Iframe Module Defines the iframe element. Image Module Defines the img element. Intrinsic Events Module Defines event attributes like onblur and onchange. Legacy Module Defines deprecated* elements and attributes. Link Module Defines the link element. List Module Defines the list elements ol, li, ul, dd, dt, and dl. Metainformation Module Defines the meta element. Name Identification Module Defines the deprecated* name attribute. Object Module Defines the object and param elements. Presentation Module Defines presentation elements like b and i. Scripting Module Defines the script and noscript elements. Server Image Map Module Defines server side image map elements. Structure Module Defines the elements html, head, title and body. Style Attribute Module Defines the style attribute. Style Sheet Module Defines the style element. Tables Module Defines the elements used in tables. Target Module Defines the target attribute. Text Module Defines text container elements like p and h1.

* Deprecated elements should not be used in XHTML.

本文地址:http://com.8s8s.com/it/it30937.htm