XHTML: Introduction
Aug 10, 2010 in FYI, tutorials
XHTML is a reformulation of HTML to be able to agree with the existing standard of XML (Extensible Markup Language). It is like picking out all the best things from HTML, filtering all the awesome aspects from XML, combining these two together and coming up with a very flexible and powerful XHTML.
Compliance of XHTML is more strict than that of HTML. Firstly, you cannot leave a tag unclosed unlike HTML. If HTML allow attributes in single quote, XHTML requires them to be enclosed in double quotes. Also, comment in the form of should be removed and inline codes of javascript and styles should be stored in separate files of .js and .css respectively.










