Differences Between
XHTML and HTML
You can prepare yourself for XHTML by starting to write strict HTML.
How To Get Ready For XHTML
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 ending tags (like </p>).
Happy coding!
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
