怎样转换成 XHTML
XHTML 模块
An XHTML document is validated against a Document Type Definition.
依靠文档类型定义来校验XHTML文档。
Validate XHTML With A DTD
通过DTD校验XHTML
An XHTML document is validated against a Document Type Definition (DTD). Before an XHTML file can be properly validated, a correct DTD must be added as the first line of the file.
要正确校验XHTML文件就必须在首行加入恰当的DTD。
The Strict DTD includes elements and attributes that have not been deprecated or do not appear in framesets:
严密型DTD包括非框架或非不赞成的元素和属性(只包含完全符合标准规范的元素和属性):
!DOCTYPE html PUBLIC |
The Transitional DTD includes everything in the strict DTD plus deprecated elements and attributes:
过渡型可包含所有严密型DTD所不赞成使用的元素和属性:
!DOCTYPE html PUBLIC |
The Frameset DTD includes everything in the transitional DTD plus frames as well:
框架型可包含过渡型所有的元素和属性同时能够使用框架:
!DOCTYPE html PUBLIC |
This is a simple XHTML document:
简单的XHTML文档实例:
<!DOCTYPE html |
本文介绍了XHTML的三种文档类型定义(DTD),包括Strict、Transitional和Frameset,并提供了如何在XHTML文档中正确使用这些DTD的方法。此外,还提供了一个简单的XHTML文档实例。
154

被折叠的 条评论
为什么被折叠?



