How XHTML is different from HTML?

  • XHTML requires that all tags should be in lowercase
  • XHTML requires that all tags should be closed properly
  • XHTML requires that all attributes are enclosed in double quotes
  • XHTML forbids inline elements from containing block level elements