XHTML
XHTML is the W3C's reformulation of HTML to comply with XML and its requirements for well-formed documents. The impact on XMLC development is mostly felt by the designers. <li>, <Li>, and <LI> are now three different elements, because case sensitivity is introduced to elements by the XHTML DTD. Here is a simple survey of some of the key distinctions between HTML and its heir apparent, XHTML.
Correctly nested elements
HTML forbids the nesting elements that don't make sense inside other elements, but it doesn't enforce them. For example, you can stick an img element inside a pre element. You can also overlap b and i elements, such as <b>Push or <i>pull</b> to open</i>. You can't do either of these with XHTML.
End tags and empty elements
With ...
Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.