XHTML, A Better, Cleaner HTML

Category: HTML
Reviewed by: Chiggins   
Reviewed on: Dec 06 2007
» Discuss this topic (0 Posts)

XHTML, Extensible Hypertext Markup Language is a stricter and cleaner version of HTML, will gradually replace HTML, became a W3C recommendation on January 26th, 2000, and is supported by all new browsers. Many pages along the web have become very, cluttered and messy. Here is an example:

 
<HTML>
<head>
<title>Page Title</TITLE>
<body>
<h1>Header 1
</html>

What is wrong with this code:

 
<HTML> tag is capitalized
</TITLE> tag is capitalized
Missing </head> tag
Missing </h1> tag

Although these mistakes may seem trivial, it is sloppy work, and in the future, will be displayed wrong once HTML is fully replaced.