六、我们直接打开下面的页面可以直接输入网址来验证我们的程序了:http://validator.w3.org/check?uri=http%3a%2f%2fmoban.7880.com%2f
xhtml 的模块化
为什么要模块化设计xhtml呢?xhtml虽然简单,但是它的内容很多,包括了一个网络设计师需要的绝大多数功能。xhtml一方面内容繁多复杂,但是从另一个角度来看它却是非常简单的。为了将xhtml分割成小的模块,w3c已经建立起了小型的已经定义好了的一系列xhtml元素,他们独立的能被与其他xml标准合并成的大型的更复杂的程序的简单设备所使用。
通过xhtml模型,程序设计师能够做如下的事情:
1.选择那些能够被使用xhtml构建块标准的设备所支持的元素。
2.在遵循xhtml标准的同时使用xml可以对xhtml扩展。
3.简单化的xhtml可以应用于像掌上电脑、移动电话、电视和家用电器等设备。
4.通过加入心的xml功能(像声音、多媒体的)将xhtml延续到复杂程序的设计上。
5.像xhtml基本(xhtml对于移动设备的一个子集)那样来定义xhtml的轮廓。
|
模块名 |
描述 |
|---|---|
| applet module | * applet元素. |
| base module | 定义基本元素. |
| basic forms module | 定义基本的表单元素 |
| basic tables module | 定义基本的表格元素 |
| bi-directional text module | 定义 bdo 元素. |
| client image map module | 定义浏览器的 image map 元素. |
| edit module | defines the editing elements del and ins. |
| forms module | defines all elements used in forms. |
| frames module | 定义框架集元素 |
| hypertext module | 定义 a 元素. |
| iframe module | 定义 iframe 元素. |
| image module | 定义 img 元素. |
| intrinsic events module | 定义事件改变属性元素 |
| legacy module | defines deprecated* elements and attributes. |
| link module | 定义link 元素. |
| list module | 定义 list 元素 ol, li, ul, dd, dt, dl. |
| metainformation module | 定义 meta 元素. |
| name identification module | defines the deprecated* name attribute. |
| object module | 定义object 和param 元素. |
| presentation module | 定义表现元素如 b 和 i. |
| scripting module | 定义 script and noscript 元素. |
| server image map module | 定义 server side image map 元素. |
| structure module | 定义结构 html, head, title and body. |
| style attribute module | 定义 style 属性. |
| style sheet module | 定义style 元素. |
| tables module | 定义表内应用的元素. |
| target module | 定义 target 属性. |
| text module | 定义 text container 元素如: p and h1. |