First of all, define a doctype. I use strict (so does Facebook). You can use transitional like Namepros.
Strict (Facebook):
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Transitional (Namepros):
Code:
<!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" dir="ltr" lang="en">
Next, any tag that doesn't surround something needs a "/" before it closes.
The main problem with validating your site was your img tags. Since there is no </img> tag, it needs to be:
Code:
<img src="image.jpg" alt="Hello" />
You also need an "alt" inside of images.
That will cover around 75% of the errors. A lot are self-explainable, but if you can't figure out what is going on, just post here.