What are the main differences between HTML & XHTML markup?

Here's a partial list:

  • Elements and attribute names must be lowercase.
  • All elements must be closed (terminated).
  • Empty elements must be terminated too.
  • Attribute values must be in quotation marks.
  • Elements must be nested properly.
  • Always use character entities for special characters.