CompuSkills Blog
Accessible Web Design, IT and Information Security
-
Jan4
What are the main differences between HTML and XHTML?
Filed under: Frequently Asked Questions, Web Design; Tagged as: Frequently-Asked-Questions, Web Design LinksWhat are the main differences between HTML and XHTML? There are few significant differences in the early forms of XHTML. The most notable changes are that documents must be well formed (i.e. use correct syntax) and that all page elements must be explicitly closed.
For example:
In old versions of HTML (see the W3 site), you could mark paragraphs with a single < p > tag. In XHTML you need to ensure the opening < p > tag is followed with a closing < /p > tag.
Technorati Tags: Web Design HTML XHTML Internet Compuskills Web Code FAQ Frequently Asked Questions
One Response to “What are the main differences between HTML and XHTML?”
-
[...] http://service.compuskills.co.uk/blog/2007/01/ 04/ what-are-the-main-differences- between-html-and-x… (HTML newbie advice) [...]

Comments