View Single Post
  #4 (permalink)  
Old Apr 28th, 2008, 06:36
unitedcraig's Avatar
unitedcraig unitedcraig is offline
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: This is my first web site, and I would like advice please.

Doctypes are used on every website, if you view the source of this page for example, you will see this at the top

HTML: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
This tells the browser that it is a transitional doctype and should be rendered as such, the other alternative is a strict doctype.

The difference between the two is that a strict is harder to validate(get 100% correct code without any errors, I would start off placing a transitional doctype on your page and after you have fixed the errors you have got, then think about a strict doctype.

Hope this helps mate

Craig
__________________
Reply With Quote