Group+6

=**Group 6 How To**=

=**Rules that change:**=

XHTML and HTML are still basically the same, XHTML requires that some rules have more strict elements in order for it to be validated. Some elements include all elements and attribute names must appear in lowercase, all attributes must be quoted, non empty elements require a closing tag, empty elements are terminated using a space and a trailing slash, no attribute minimization is allowed in XHTML, documents in XHTML must have one root element.

**Examples of tags that change**
1. Write tags in lowercase  written like  2. End Tags are required must be written like and then or written like 3. Attributes must be quoted and include attributes written like  4. Overlapping elements is wrong here is an emphasized paragraph. written like here is an emphasized paragraph. 5. Attribute Minimization written like  6. No empty elements written like written like 7. Using the ampersand outside of entities in URLs (use &amp; instead of & in links also) Incorrect: News Correct: News 8. Using the ampersand outside of entities (use &amp; to display the ampersand character) Incorrect: Cars & Trucks Correct: Cars &amp; Trucks 9. The attribute “name” is to be refered to as “id”

10. 

**Differences in code snippets**
1.	The attribute “name” is to be refered to as “id” 2.	The “lang” attribute must be “xml:lang” 3. Must have a doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3.	Formatting within the document must be moved to a CSS file in XHTML. 5. . Overlapping elements here is an emphasized paragraph. written like here is an emphasized paragraph.

**Web Resources**
1.	www.w3.org 2.	www.webstandards.org 3.	www.webdesign.about.com