开发者

XHTML 5 Prologue vs XHTML 1 Prologue

Are there any differences betw开发者_运维知识库een prologues of XHTML 1 and XHTML 5? Is it possible to find out whether a document is XHTML 1 or XHTML 5 simply by looking at its prologue?


A strictly conforming XHTML 1.0 document will include an XHTML 1.0 Doctype.

Non-strictly conforming XHTML 1.0 documents and XHTML 5 documents will not. So it will let you identify some XHTML 1.0 documents, but not all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜