Friday 9 July 2010

XHTML vs HTML

Well the time has come for SharePoint UI developer to fully embrace XHTML. Hopefully we have all been coding for years in XHTML standards, but if its always good to remember the fundemental strengths of XHTML.

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

w3school is probably the best place to send your developers to get their heads around the new world of JavaScript, XML, and XHTML. Its stresses the fundamentals that we tend to lose sight of in our day to day work.

No comments:

Post a Comment