group14

=__The Differences Between [|HTML] and [|XHTML].__=

XHTML is set to be the next step in the evolution of HTML. XHTML or "e__X__tensible __H__yper __T__ext __M__ark-up __L__anguage" is very similar to the latest version of HTML (4.0) To quote [|Jennifer Kyrnin] of [|About.com] "XHTML is HTML 4.0 Written in XML Format". She also writes "XML is an extensible markup language that was developed to retain the flexibility and power of HTML while reducing most of the complexity. XHTML combines the flexibility of HTML with the extensibility of XML." The "extensible" part means it can be "extended" with the addition of new tags.

Some of the Diffrences Between HTML 4 and XHTML follow.

All tags must now be closed
becomes

becomes ... becomes ...  ... becomes ...  becomes  or ... becomes 

Tags must not have missing elements
tags must include alt="image description" to be correct

Tags cannot rely on defaults
correct: Incorrect:

Tags cannot over lap
hello  is incorrect hello is correct

All tag attributes must be in quotes


__Changes in Code:__
XHTML documents must contain a DOCTYPE statement at the top
 * **HTML** ||

|| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 * **XHTML** ||
 * 

 ||

Style and formatting is held in a more centralized way in XHTML || Jack's Mules. || and email us or give us a call…
 * **HTML** ||
 *  ||
 *  Our History
 * Thanks so much for your interest in
 * Check out our services

…we look forward to hearing from you!  || /*<![CDATA[*/ body { background-color: lime; }
 * **XHTML** ||
 * 
 * link { color: #0000FF }
 * visited { color: #808080 }
 * active { color: #FF0000 }

p.c10 {font-family: Comic Sans MS; font-size: 80%} h4.c9 {font-family: Comic Sans MS; text-align: center} div.c8 {text-align: center} span.c7 {color: red} h2.c6 {font-family: Comic Sans MS; font-size: 120%; text-align: center} h3.c5 {font-family: Comic Sans MS; font-size: 120%; text-align: center} span.c4 {font-family: Comic Sans MS} span.c3 {font-size: 80%} span.c2 {font-family: Comic Sans MS; font-size: 120%} p.c1 {text-align: center} /*]]>*/ || twenty years now! Jack was six years old and walked his mule "Honey" (our "mascot"!) to Bradley's Fun Day and offered rides for a quarter. He came home that day with his pockets full of quarters, and Jack's Mules was born! ||
 * **HTML** ||
 *  Jack's Mules, Inc. has been in business over
 * **XHTML** ||
 * Jack's Mules, Inc. has been in business over twenty years now! Jack was six years old and walked his mule "Honey" (our "mascot"!) to Bradley's Fun Day and offered rides for a quarter. He came home that day with his pockets full of quarters, and Jack's Mules was born!

Web Resources http://wiki.whatwg.org/wiki/HTML_vs._XHTML http://www.w3.org/TR/xhtml1/#xhtml http://webdesign.about.com/cs/xhtmlxml/a/aa013100a.htm