Step 4 - XHTML Quirks and Validation
Every language has them, and so does XHTML, some are quite annoying while some are quite simple. It should only take a few lines to explain but it didn't fit in with anything else so it goes here.
Using Singular Tags
In HTML there are several singular tags, such as line breaks and image tags, XHTML has a certain format these must all follow where the closing > is replace with a space followed by />
An example would be the <br> tag which when used in XHTML should be typed as <br />
Using Image Tags
Another problem you will encounter when you validate your page is if you haven't used the Alt element in your image tags, so remember every image must have an Alt tag.
Validating your page
This is the simple bit, just goto http://validator.w3.org follow the instructions and if any problems come up just do what the page recommends to fix them. If your page is 100% compatible it gives you a little button as a reward, how nice ^_^
Well Done
So you've finally built your first webpage using CSS and XHTML, it probably sucks a bit doesn't it? I understand CSS never seems to do what its supposed to but keep practising and trying and you'll get there eventually. Click Next to view the about page, or if you don't feel like that why not visit a few other sites, I've lisited some of interest below.
CSS Zen Garden - This website is a CSS haven with hundreds of CSS based designs for the same site, take a look and learn some tips.
W3 - This site shows the development and future of the CSS Standard and explains it, they are The Web Standards People.
W3Schools - These people are we finatics willing to write guides to show you just every single way to build a webpage, worth a look just for the reference guides really.