public marks

PUBLIC MARKS from Hiéroglyphe with tags html & "mime type"

23 January 2007 23:45

Sending XHTML as text/html Considered Harmful

by 1 other
A number of problems resulting from the use of the text/html MIME type in conjunction with XHTML content are discussed. It is suggested that XHTML delivered as text/html is broken and XHTML delivered as text/xml is risky, so authors intending their work for public consumption should stick to HTML 4.01, and authors who wish to use XHTML should deliver their markup as application/xhtml+xml.