开发者

which DOCTYPE variation should we use? [duplicate]

This question already has answers here: Closed 12 years ago.

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 understa开发者_开发知识库nd 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?


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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜