Chapter 19: XHTML: The Next Generation of HTML
In This Chapter
Understanding the mystique behind XML
Discovering the advantages of XHTML
Exploring the differences between HTML and XHTML
Converting your HTML to XHTML
Working with HTML Tidy
Chapter Outline
- Dissecting XML
- Ringside with HTML and XHTML
- HTML has some limitations
- Converting HTML to XHTML -- Easily!
- Rule 1: Always nest correctly
- Rule 2: Always include optional ending tags
- Rule 3: Attribute values must always be quoted
- Rule 4: All element and attribute names must
be lowercase
- Rule 5: Attribute name-value pairs cannot
stand alone
- Rule 6: Empty elements must end their start
tag with />
- Rule 7: You must include a DOCTYPE declaration
- Rule 8: You must include an XHTML namespace
- Take a look at an example
- Doing It with HTML Tidy
Previous Chapter
| Next Chapter
Home
| Site Overview | FTP
Resources | Book URLs | Book
Contents | Book Examples | Contact
Info | Wayfinding Toolkit
URL: http://www.lanw.com/html4dum/html4fd3/contents/ch19cont.htm
E-mail: HTML 4 For Dummies, 3rd Edition
Provided by: LANWrights, Inc.
Copyright Information
Revised -- April 11, 2000