2/26/2010

XHTML VS HTML

I have asked many people about the difference between HTML and XHTML , Somebody given me the right answer and somebody couldn't. Lastly I got the difference between HTML and XHTML, which is given below.

  1. XHTML documents Should be properly nested whether it's not important in HTML
  2. XHTML tags should be always closed
  3. XHTML documest should be only one root element
  4. All XHTML tags should be writen in lowercase ,Uppercase is not allow