Oh, and I guess I forgot to mention that if you specify a DOCTYPE, you are saying that website needs to be rendered for that type using Standards Compliance Mode, but if you
don't specify a DOCTYPE, it assumes Quirks Mode.
But I guess that was implied. :p
Now, for something cooler:
The Firefox Web Developer Extension
This is an extension to the Firefox browsers, which provides you with a toolbar that lets you do tons of things to the websites you work on, in order to help you designer faster and cleaner.
Here is a quick list of features it provides you with, all at your fingertips.
- Disable JavaScript
- Draw borders around block-level objects
- Validate HTML
- Validate CSS
- Turn off images
- Turn off styles
- See what mode the site is being rendered in
And a whole lot more! Now the cool thing is, on the right side of the toolbar, you will see a blue circle with a check mark inside it. If it's faded, the site is being rendered in "Quirks Mode". If you click the check mark/cirle, it will even say so, along with some other information about it. And if the check mark/circle is nice and blue (i.e. not faded) then it's in Standards Compliance Mode.
Pretty nifty, isn't it? And if you're not using Firefox... then you better get started NOW!
Also, there is an an
IE View extension, which allows you to quickly open the site your viewing in IE. This helps when you're designing a XHTML/CSS site, and you need to check if IE is rendering things like Firefox, or if you'll need to modify your markup (or add PHP code) to compensate for rendering issues.
Anyways, hope that was of help to you, and any others that read this thread.
