RSS Feed for This PostCurrent Article

What are the main differences between HTML and XHTML?

What are the main differences between HTML and XHTML? There are few significant differences in the early forms of XHTML. The most notable changes are that documents must be well formed (i.e. use correct syntax) and that all page elements must be explicitly closed.

For example:

In old versions of HTML (see the W3 site), you could mark paragraphs with a single < p > tag. In XHTML you need to ensure the opening < p > tag is followed with a closing < /p > tag.

Technorati Tags:

Digg!
Tagged with:,

Trackback URL

  1. 1 Trackback(s)

  2. Feb 25, 2007: Why Dont You Blog? : Links 7 Jan 07 WordPress 2.1.1

Sorry, comments for this entry are closed at this time.