XHTML requires all tags to be closed, but the main advantage it has (or had) over HTML 4.0 is that it is based on the DOM of XML. Theoretically, it would be easier and faster for an XHTML page to be loaded in a browser than an HTML page, but for the sake of compatibility these features are not used. However, you can parse XHTML code through an XML reader.
|