XHTML is not very different from the HTML 4.01 standard
In addition, you should start NOW to write your HTML code in lowercase letters, and NEVER skip closing tags (like </p>).

The Most Important Differences:

XHTML elements must be properly nested
XHTML elements must always be closed
XHTML elements must be in lowercase
XHTML documents must have one root element

XHTML Elements Must Always Be Closed

This is wrong:

<p>This is a book
<p>This is another book

This is correct:

<p>This is a book</p>
<p>This is another book</p>

Sponsored Links