What are the main differences between HTML and XHTML?
By Web Design Services Team on Jan 4, 2007 in Frequently Asked Questions, Web Design
What 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
Tagged with:Frequently Asked Questions, Web Design
1 Trackback(s)
Sorry, comments for this entry are closed at this time.