| 8:00 am on Sep 26, 2005 (gmt 0)|
Welcome to WebMasterWorld timaer,
Here is an article that will help you understand the DOCTYPE a little more and why it is required.
[edited by: encyclo at 12:54 am (utc) on Sep. 27, 2005]
[edit reason] fixed link [/edit]
| 11:08 am on Sep 26, 2005 (gmt 0)|
I've read that link,but still a little confused about its use.It refered
"But if a browser sees no DTD, or a partial DTD, then it goes into "quirks mode", which essentially means rendering the page the wrong way, but the way we were used to up until version 6"
What is the "wrong way"? Can IE 6 use the "quirks mode" to render the page correctly as "standard mode",since I see no difference after removing the sentence <!DOCTYPE...>,and I heard of a saying that if we remove the<!DOCTYPE...> the download speed will be more faster,Is that right?
| 11:34 am on Sep 26, 2005 (gmt 0)|
Download speed will be very slightly faster but long run it's not worth leaving it out. It is possible for a page to look the same in both standards and quirks modes if it's simple enough to not use any style that is affected by the doctype switch.
| 5:22 pm on Sep 26, 2005 (gmt 0)|
Stick with using the DocType. It's the right way to do it and later, as you get into more complicated web work, you'll be glad you got in the habit of doing it right from the start.
| 5:58 pm on Sep 26, 2005 (gmt 0)|
... and better yet, if you're starting out, start with a Strict DOCTYPE, rather than a transitional one. That'll save you grief in the long run.
| 6:45 am on Sep 27, 2005 (gmt 0)|
Thanks all the lovely guys,I think I know what to do next.