What are the main differences between XHTML and HTML? [closed]

XHTML is based on XML, and thus requires the source to be well-formed.
Since XHTML is more strict than HTML, less pre-processing is needed by the rendering engine.

XHTML should be served as application/xhtml+xml for you to take advantage of the benefits, otherwise XHTML will be treated as ordinary HTML. Serving it as ‘application/xhtml+xml’ is not common on the web due to Internet Explorer, which cannot handle XHTML.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)