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
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:
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
Related Books:Related Searches: xhtml tutorial, html markup, tag doesn, css tutorials, double quotes
Comments
Leave a Reply