XHTML: Why XHTML?

Why XHTML?

This HTML code works fine in most browsers (even if it does not follow the HTML rules):

<html>
<head>
  <title>This is bad HTML</title>

<body>
  <h1>Bad HTML
  <p>This is a paragraph
</body>
  • Many pages on the internet contain "bad" HTML.
  • Smaller devices often lack the resources or power to interpret "bad" markup.
  • XHTML was developed by combining the strengths of HTML and XML.

Related concepts

Why XHTML?

XHTML: Why XHTML? — Structure map

Clickable & Draggable!

XHTML: Why XHTML? — Related pages: