Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by …

Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by ...Short Description
Fast and Easy XHTML, XHTML Tutorial, HTML, Web Standards, by Shirley …ML Tutorials, CSS Tutorials and Tips, Website Tips at Websitetips.com …

Website: websitetips.com | Filesize: 69kb

Content
Fast and Easy XHTML - XHTML Tutorial, By Shirley E. Kaiser, M.A., SKDesigns - Website Tips at Websitetips.com
December, 2001, Updated March 2006Copyright . 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 AMFast 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

it needs to be

for XHTML.
2.
Every tag must have a corresponding ending tag, such as

and

  • . Some tags don’t have a corresponding ending tag, such as
    ,


    , and others. Those tags, to be backward compatible will look like this instead:

    (Below is an XHTML document sample that shows more of these.)
    3.
    Every attribute value must be in double quotes, such as:funny faceNotice that since the 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:

    Text

    This is…

    Get the file Download here

    AddThis Social Bookmark Button
    Related Books:
  • XHTML Tutorial
  • XHTML Tutorial
  • XHTML Full Tutorial
  • XHTML Tutorial
  • Browser Support for XHTML 1.0
  • Semantics, HTML, XHTML, and Structure - Articles - Brainstorms and …
  • HTML & XHTML The Definitive Guide (5th edn)
  • HTML, CSS and Web Design XHTML

  • Related Searches: , , , ,



    Comments

    Leave a Reply