views:

44

answers:

2

Possible Duplicate:
Which DOCTYPE declaration should we use?

I have read a number of books on DOCTYPE declaration and the three variations; strict, transitional and frameset.

but is still not able to fully understand their difference and indeed is not sure which variation I should use when creating my website; in particular i don't understand the difference between strict and transitional.

could you please advise me?

A: 

I always use this:

http://htmlhelp.com/tools/validator/doctype.html

Evan Mulawski
A: 

In HTML5 which will be supported in most browsers soon, you just have to declare your doctype as "html". It'll look like this:

<!DOCTYPE html>
Nike