15 Sep 2004

You keep hearing about it…
HTML vs XHTML – What’s the difference?

httpXHTML is a new, stricter and cleaner version of HTML aimed to replace HTML. It is the official HTML standard set by W3C recommendation in 2000.

The main differences:
• XHTML elements must be properly nested
• XHTML documents must be well-formed. No sloppy code is allowed.
• Tag names must be in lowercase
• All XHTML elements must be closed

To build an XHTML site you’ll need the following resources:
W3Schools really easy XHTML Tutorial
The w3C (X)HTML validator – to test your site
XHTML 1.0 Reference
XHTML 1.0 Standard Attributes
XHTML 1.0 Event Attributes – for your javascript
XML Tutorial – how to use it in your apps

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.