|
HTML is an application of the very flexible SGML.
XHTML is an application of XML which is extended from SGML.
XHTML so is much more strict then HTML. In HTML parts of the layout can be defined (<font>, align=””, <b>, <u>, <I>, …), in XHTML many of these 'only style'-elements or attributes don’t exist anymore. In general you can say in XHTML it’s more about content (style can be done with CSS). In HTML it’s still more a mix of style and content. Because of the more strict syntax XHTML should be more logical, synoptic, more easy to parse and thus faster.
Many people say XHTML is the future, but not everybody agrees with that.
little disadvantage: Internet Explorer still doesn’t support XHTML (however it can be dissolved with different-headers for IE).
|