Xhtml 5 Prologue Vs Xhtml 1 Prologue
Are there any differences between 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?
Solution 1:
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.
Post a Comment for "Xhtml 5 Prologue Vs Xhtml 1 Prologue"