How W3Schools Was Converted To XHTML ?
W3Schools was converted from HTML to XHTML. To convert a Web site from HTML to XHTML, you should be familiar with the XHTML syntax rules. Your pages must have a DOCTYPE declaration if you want them to validate as correct XHTML. The following DOCTYPE declaration was added as the first line of every page: Be aware however, that newer browsers might treat your document differently depending on the declaration. If the browser reads a document with a DOCTYPE, it might treat the document as “correct”. Malformed XHTML might fall over and display differently than without a DOCTYPE. Lower Case Tag And Attribute Names Since XHTML is case sensitive, and since XHTML only accepts lower case HTML tags and attribute names, a general search and replace function was executed to replace all upper case tags with lowercase tags. The same was done for attribute names. We have