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.
精彩评论