SlideShare a Scribd company logo
Fast and Easy XHTML - XHTML Tutorial, By Shirley E. Kaiser, M.A., SKDesigns - Website Tips at Websitetips.com




 December, 2001, Updated March 2006

 Copyright © 2001-2006, Shirley E. Kaiser, M.A., SKDesigns. All rights reserved.




 Wondering how to turn your HTML markup into XHTML? Here are a few quick tips to

 teach you the very basics, a sample XHTML document, and resources for more

 information.


 If you already know HTML, I suspect you can learn how to implement these markup

 changes within a couple of hours. If you just dig in and give it a try, I think you'll be

 pleasantly surprised to see that it's easier than you may have thought.


 Ready to give it a try? Let's go....



 The Basics
http://websitetips.com/articles/xhtml/basics/ (1 of 6)3/20/2006 11:32:47 AM
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com




           1. All your markup needs to be in lowercase. For example, instead of <P></P>

                 it needs to be <p></p> for XHTML.

           2. Every tag must have a corresponding ending tag, such as <p></p> and

                 <li></li>. Some tags don't have a corresponding ending tag, such as <br>,

                 <hr>, and others. Those tags, to be backward compatible will look like this

                 instead:


                 <br />

                 <hr />


                 (Below is an XHTML document sample that shows more of these.)

           3. Every attribute value must be in double quotes, such as:

                 <img src="image.gif" height="150" width="40" alt="funny face" />


                 Notice that since the <img> tag doesn't have a corresponding ending tag that

                 it also is closed with the extra space and slash, too.

           4. Nesting must be correct (and symmetrical). HTML also requires correct

                 nesting, but it wasn't always as problematic in browsers. XHTML requires it

                 done properly, though. For example, this is incorrect:

                 <p><strong>Text</p></strong>


                 This is correct:

                 <p><strong>Text</strong></p>

           5. An ampersand (&) within an attribute value must use its character entity

                 reference. For example, a URL like this:


                 <a href="http://www.foo.com/cgi-bin/

http://websitetips.com/articles/xhtml/basics/ (2 of 6)3/20/2006 11:32:47 AM
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com



                 class.pl?saturday&night&live">foo</a>


                 must instead be:


                 <a href="http://www.foo.com/cgi-bin/

                 class.pl?saturday&amp;night&amp;live">foo</a>

           6. Your markup must be well-formed. If you've already been writing good

                 markup that validates with W3C, it's no big deal. If not, it's a good time to

                 clean up your markup.



 A New DTD

 In addition to the above is a new DTD, too. The sample below is for XHTML 1.0

 transitional.




            <?xml version="1.0" encoding="UTF-8"?>

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

            "http://www.w3.org/TR/xhtml1/DTD/

            xhtml1-transitional.dtd">

            <html xmlns="http://www.w3.org/1999/xhtml">



 The first line, beginning with <?xml version= ..., is the xml prolog, and it's

 recommended but not required. Note that using the xml prolog will trigger IE6 Quirks

 Mode, so you might want to leave it out or learn more about it before deciding. The



http://websitetips.com/articles/xhtml/basics/ (3 of 6)3/20/2006 11:32:47 AM
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com
 xml prolog tells the browser that your document is based upon a DTD using XML, and

 that it's using a standard character encoding.


 The second line, beginning with <!DOCTYPE ....>, will look more familiar to you, this

 time representing XHTML 1.0 transitional.


 Then, the last line beginning with <html xmlns=" ....> replaces the <html>

 element, telling the browser the language and the namespace.


 Below is a sample XHTML document. Note that all the markup is in lowercase, there

 are quotes around the attribute values, the new endings for the tags that don't have

 corresponding ending tags, and it is all well formed.



 A Sample XHTML Document


            <?xml version="1.0" encoding="UTF-8"?>
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <title>Nifty New XHTML document</title>

            <meta name="description" content="This is the coolest XHTML document
            on the Internet." />

            <link rel="stylesheet" type="text/css" href="stylesheet.css" />

            </head>

            <body>

            <p>Content here.</p>
            <p>Content here.</p>



http://websitetips.com/articles/xhtml/basics/ (4 of 6)3/20/2006 11:32:47 AM
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com

            <ol>
               <li>List item one</li>
               <li>List item two</li>
            </ol>


            <dl>
               <dt>Term</dt>
               <dd>definition</dd>
            </dl>


            <img src="image.gif" height="150" width="40" alt="funny face" />

            <br/>

            <table class="data">
            <tr><td>Green eggs</td><td>Ham</td></tr>
            </table>



            <form method="get" action="foo">

            <select name="">
            <option value="all">All Products</option>
            <option value="books">Books</option>
            </select>

            <input type="text" name="keyword" size="10"
            value="" />

            <input type="submit" name="Search" value="Go!" />

            </form>


            </body>
            </html>




 Resources




http://websitetips.com/articles/xhtml/basics/ (5 of 6)3/20/2006 11:32:47 AM
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com




                                        To learn lots more about XHTML, check out WebsiteTips.com's
 XHTML section for annotated links to W3C recommendations, articles and tips, sites

 devoted to XHTML, and more.


 Also highly recommended is Molly Holzschlag's book, XML, HTML, XHTML Magic

 published by New Riders.



         This tutorial was originally published December 09, 2001 at Brainstorms and Raves.



         Copyright © 2001 Shirley E. Kaiser, M.A. All Rights Reserved. Reprint with permission only.

         Please contact the author for details.




                                               Today is March 20, 2006 - PST
                                Copyright © 1996-2006 WebsiteTips.com. All rights reserved.
                                           Created and maintained by SKDesigns.


                                      http://websitetips.com/articles/xhtml/basics/
                                      Last modified March 20, 2006 - 7:16pm PST




http://websitetips.com/articles/xhtml/basics/ (6 of 6)3/20/2006 11:32:47 AM

More Related Content

What's hot (20)

KEY
HTML/CSS Lecture 1
Lee Lundrigan
 
PPS
Xhtml
Samir Sabry
 
PPT
Xhtml
Manav Prasad
 
PPTX
Dynamic HTML (DHTML)
Himanshu Kumar
 
PPTX
Css presentation lecture 1
Mudasir Syed
 
PPTX
Web page concept final ppt
Sukanya Sen Sharma
 
PPTX
Dhtml
Sadhana28
 
PPTX
Unit ii java script and xhtml documents and dynamic documents with javascript
zahid7578
 
PPTX
The Difference between HTML, XHTML & HTML5 for Beginners
Rasin Bekkevold
 
PPTX
Grade 10 COMPUTER
Joel Linquico
 
PPT
Design Tools Html Xhtml
Ahsan Uddin Shan
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPT
Xhtml
Abdul Khan
 
PDF
Html beginner
wihrbt
 
PPSX
Xhtml
Veena Gadad
 
PPSX
HTML & XHTML Basics
Hossein Zahed
 
PPT
Introduction to html5
Manav Prasad
 
PPTX
Html
yugank_gupta
 
PDF
1. HTML
Pavle Đorđević
 
PDF
Html css workshop, lesson 0, how browsers work
Albino Tonnina
 
HTML/CSS Lecture 1
Lee Lundrigan
 
Dynamic HTML (DHTML)
Himanshu Kumar
 
Css presentation lecture 1
Mudasir Syed
 
Web page concept final ppt
Sukanya Sen Sharma
 
Dhtml
Sadhana28
 
Unit ii java script and xhtml documents and dynamic documents with javascript
zahid7578
 
The Difference between HTML, XHTML & HTML5 for Beginners
Rasin Bekkevold
 
Grade 10 COMPUTER
Joel Linquico
 
Design Tools Html Xhtml
Ahsan Uddin Shan
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Xhtml
Abdul Khan
 
Html beginner
wihrbt
 
HTML & XHTML Basics
Hossein Zahed
 
Introduction to html5
Manav Prasad
 
Html css workshop, lesson 0, how browsers work
Albino Tonnina
 

Similar to xhtml_basics (20)

PDF
HTML practical file
Kuldeep Sharma
 
PPTX
Html and Xhtml
Chhom Karath
 
PPT
IntroHTMzczczscasasaklahduasihiaSUJScgGJKKL.ppt
diciembrejatcs
 
PDF
Introduction to XML, XHTML and CSS
Jussi Pohjolainen
 
PPT
Wt-UNNIT-1 (1).ppt
GReshma10
 
PPTX
HTML AND XML ppt.pptx
SRIRAM763018
 
PPT
xhtml_css.ppt
fakeaccount225095
 
PDF
Intro to HTML 5 / CSS 3
Tadpole Collective
 
PDF
Unit 4 - HTTP and the Web Services - IT
Deepraj Bhujel
 
PPT
Lecture07 ASDFASFA ASD ASD SDS XHTML.ppt
DrKBManwade
 
PDF
Rc064 010d Core Html 1
troopergreen
 
PPTX
Markup language classification, designing static and dynamic
Ankita Bhalla
 
PDF
Website designing company in faridabad
Css Founder
 
PPT
Introduction to web design
SynapseindiaComplaints
 
PDF
Introduction to HTML programming for webpages.pdf
Mahmoud268161
 
PDF
If you know nothing about HTML, this is where you can start !!
Dr Sukhpal Singh Gill
 
PDF
xhtml-documentation
tutorialsruby
 
PPT
Chapter2
DeAnna Gossett
 
PPTX
IS221__Week1_Lecture chapter one, Web design.pptx
kumaranikethnavish
 
HTML practical file
Kuldeep Sharma
 
Html and Xhtml
Chhom Karath
 
IntroHTMzczczscasasaklahduasihiaSUJScgGJKKL.ppt
diciembrejatcs
 
Introduction to XML, XHTML and CSS
Jussi Pohjolainen
 
Wt-UNNIT-1 (1).ppt
GReshma10
 
HTML AND XML ppt.pptx
SRIRAM763018
 
xhtml_css.ppt
fakeaccount225095
 
Intro to HTML 5 / CSS 3
Tadpole Collective
 
Unit 4 - HTTP and the Web Services - IT
Deepraj Bhujel
 
Lecture07 ASDFASFA ASD ASD SDS XHTML.ppt
DrKBManwade
 
Rc064 010d Core Html 1
troopergreen
 
Markup language classification, designing static and dynamic
Ankita Bhalla
 
Website designing company in faridabad
Css Founder
 
Introduction to web design
SynapseindiaComplaints
 
Introduction to HTML programming for webpages.pdf
Mahmoud268161
 
If you know nothing about HTML, this is where you can start !!
Dr Sukhpal Singh Gill
 
xhtml-documentation
tutorialsruby
 
Chapter2
DeAnna Gossett
 
IS221__Week1_Lecture chapter one, Web design.pptx
kumaranikethnavish
 
Ad

More from tutorialsruby (20)

PDF
&lt;img src="../i/r_14.png" />
tutorialsruby
 
PDF
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
tutorialsruby
 
PDF
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
tutorialsruby
 
PDF
&lt;img src="../i/r_14.png" />
tutorialsruby
 
PDF
&lt;img src="../i/r_14.png" />
tutorialsruby
 
PDF
Standardization and Knowledge Transfer – INS0
tutorialsruby
 
PDF
xhtml_basics
tutorialsruby
 
PDF
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
PDF
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
PDF
HowTo_CSS
tutorialsruby
 
PDF
HowTo_CSS
tutorialsruby
 
PDF
BloggingWithStyle_2008
tutorialsruby
 
PDF
BloggingWithStyle_2008
tutorialsruby
 
PDF
cascadingstylesheets
tutorialsruby
 
PDF
cascadingstylesheets
tutorialsruby
 
PDF
Winter%200405%20-%20Advanced%20Javascript
tutorialsruby
 
PDF
Winter%200405%20-%20Advanced%20Javascript
tutorialsruby
 
PDF
eng2u3less38
tutorialsruby
 
&lt;img src="../i/r_14.png" />
tutorialsruby
 
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
tutorialsruby
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
tutorialsruby
 
&lt;img src="../i/r_14.png" />
tutorialsruby
 
&lt;img src="../i/r_14.png" />
tutorialsruby
 
Standardization and Knowledge Transfer – INS0
tutorialsruby
 
xhtml_basics
tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
HowTo_CSS
tutorialsruby
 
HowTo_CSS
tutorialsruby
 
BloggingWithStyle_2008
tutorialsruby
 
BloggingWithStyle_2008
tutorialsruby
 
cascadingstylesheets
tutorialsruby
 
cascadingstylesheets
tutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
tutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
tutorialsruby
 
eng2u3less38
tutorialsruby
 
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 

xhtml_basics

  • 1. Fast and Easy XHTML - XHTML Tutorial, By Shirley E. Kaiser, M.A., SKDesigns - Website Tips at Websitetips.com December, 2001, Updated March 2006 Copyright © 2001-2006, Shirley E. Kaiser, M.A., SKDesigns. All rights reserved. Wondering how to turn your HTML markup into XHTML? Here are a few quick tips to teach you the very basics, a sample XHTML document, and resources for more information. If you already know HTML, I suspect you can learn how to implement these markup changes within a couple of hours. If you just dig in and give it a try, I think you'll be pleasantly surprised to see that it's easier than you may have thought. Ready to give it a try? Let's go.... The Basics http://websitetips.com/articles/xhtml/basics/ (1 of 6)3/20/2006 11:32:47 AM
  • 2. Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com 1. All your markup needs to be in lowercase. For example, instead of <P></P> it needs to be <p></p> for XHTML. 2. Every tag must have a corresponding ending tag, such as <p></p> and <li></li>. Some tags don't have a corresponding ending tag, such as <br>, <hr>, and others. Those tags, to be backward compatible will look like this instead: <br /> <hr /> (Below is an XHTML document sample that shows more of these.) 3. Every attribute value must be in double quotes, such as: <img src="image.gif" height="150" width="40" alt="funny face" /> Notice that since the <img> tag doesn't have a corresponding ending tag that it also is closed with the extra space and slash, too. 4. Nesting must be correct (and symmetrical). HTML also requires correct nesting, but it wasn't always as problematic in browsers. XHTML requires it done properly, though. For example, this is incorrect: <p><strong>Text</p></strong> This is correct: <p><strong>Text</strong></p> 5. An ampersand (&) within an attribute value must use its character entity reference. For example, a URL like this: <a href="http://www.foo.com/cgi-bin/ http://websitetips.com/articles/xhtml/basics/ (2 of 6)3/20/2006 11:32:47 AM
  • 3. Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com class.pl?saturday&night&live">foo</a> must instead be: <a href="http://www.foo.com/cgi-bin/ class.pl?saturday&amp;night&amp;live">foo</a> 6. Your markup must be well-formed. If you've already been writing good markup that validates with W3C, it's no big deal. If not, it's a good time to clean up your markup. A New DTD In addition to the above is a new DTD, too. The sample below is for XHTML 1.0 transitional. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> The first line, beginning with <?xml version= ..., is the xml prolog, and it's recommended but not required. Note that using the xml prolog will trigger IE6 Quirks Mode, so you might want to leave it out or learn more about it before deciding. The http://websitetips.com/articles/xhtml/basics/ (3 of 6)3/20/2006 11:32:47 AM
  • 4. Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com xml prolog tells the browser that your document is based upon a DTD using XML, and that it's using a standard character encoding. The second line, beginning with <!DOCTYPE ....>, will look more familiar to you, this time representing XHTML 1.0 transitional. Then, the last line beginning with <html xmlns=" ....> replaces the <html> element, telling the browser the language and the namespace. Below is a sample XHTML document. Note that all the markup is in lowercase, there are quotes around the attribute values, the new endings for the tags that don't have corresponding ending tags, and it is all well formed. A Sample XHTML Document <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Nifty New XHTML document</title> <meta name="description" content="This is the coolest XHTML document on the Internet." /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> </head> <body> <p>Content here.</p> <p>Content here.</p> http://websitetips.com/articles/xhtml/basics/ (4 of 6)3/20/2006 11:32:47 AM
  • 5. Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com <ol> <li>List item one</li> <li>List item two</li> </ol> <dl> <dt>Term</dt> <dd>definition</dd> </dl> <img src="image.gif" height="150" width="40" alt="funny face" /> <br/> <table class="data"> <tr><td>Green eggs</td><td>Ham</td></tr> </table> <form method="get" action="foo"> <select name=""> <option value="all">All Products</option> <option value="books">Books</option> </select> <input type="text" name="keyword" size="10" value="" /> <input type="submit" name="Search" value="Go!" /> </form> </body> </html> Resources http://websitetips.com/articles/xhtml/basics/ (5 of 6)3/20/2006 11:32:47 AM
  • 6. Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley ...ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com To learn lots more about XHTML, check out WebsiteTips.com's XHTML section for annotated links to W3C recommendations, articles and tips, sites devoted to XHTML, and more. Also highly recommended is Molly Holzschlag's book, XML, HTML, XHTML Magic published by New Riders. This tutorial was originally published December 09, 2001 at Brainstorms and Raves. Copyright © 2001 Shirley E. Kaiser, M.A. All Rights Reserved. Reprint with permission only. Please contact the author for details. Today is March 20, 2006 - PST Copyright © 1996-2006 WebsiteTips.com. All rights reserved. Created and maintained by SKDesigns. http://websitetips.com/articles/xhtml/basics/ Last modified March 20, 2006 - 7:16pm PST http://websitetips.com/articles/xhtml/basics/ (6 of 6)3/20/2006 11:32:47 AM