Get latest posts straight to your mail box!

Delivered by FeedBurner

Difference between HTML to XHTML

Difference between HTML and  XHTML often subtle but marked difference anyway was brilliantly summarised by UK WW member resonate.  A brief highlight of some of the differenced follows:

  • Tags must be properly nested: overlapping elements are not allowed
  • Tags and attributes must be in lower case
  • All elements must be closed
  • Attribute values must always be quoted
  • Attributes cannot be minimized: For example, <option selected> is incorrect it should be instead: <option selected=”true”>
  • ID attribute replaces the Name attribute
  • Mandatory elements: XHTML documents require certain mandatory elements. The html, head, body and title elements must exist. Additionally there must be a DOCTYPE declaration.

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

 You can read the full article here


This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  To change this standard text, you have to enter some information about your self in the Dashboard -> Users -> Your Profile box. Read more from this author


Digg It! StumbleUpon Yahoo! Bookmarklet Netscape Technorati reddit Google Bookmarks

Submit Comment

You must be logged in to post a comment.


Resources from Temi

Temi Odurinde Internet blogs offers information, resources and opinion on Internet related topics such as web hosting, domain Name registration, website marketing, website promotion and search engine optimisations(SEO) related issues. Temi's Internet blogs welcomed articles from other bloggers within the aforementioned industry, please contact Temi Odurinde if you wish your article published on this site.