Importance of Proper DOCTYPE Usage

Filed in News & Updates
1 Star2 Stars3 Stars4 Stars5 Stars
0
  • Digg
  • Technorati
  • del.icio.us
  • Propeller
  • StumbleUpon
  • Reddit
  • Mixx
  • Fark
  • Slashdot
  • Sphinn
  • Design Float
  • description
  • BlinkList
  • E-mail this story to a friend!
Enter your email address:

Never Spam

Many inexperienced web developers often skip over or miss-understand the importance of DOCTYPE declarations. It is of crucial importance in today’s web development world to properly define your markup. If improper DOCTYPE is used, you can easily cause IE to switch to quirks mode. I am not going to get into quirks mode in this post, please do a search for more information!

Please note that for many of my demonstrations and tutorials to work, especially in Internet Explorer, you must be using a standards compliant !DOCTYPE, which for IE this needs to be in the first line of your HTML.

If you are using the all-to-common:

< ?xml version=”1.0″ encoding=”UTF-8″? >

Beware! This will cause IE to switch into quirks mode.

For more information about DOCTYPE declarations please see the WC3 list of recommended DTDs.

Related Posts


IE PNG - The PNG Transparency Problem in Windows Internet Explorer

HTML Code Bloat - How to eliminate HTML code bloat from your web pages

Graphic Design Resources

IE Compatibility Testing

htaccess Cheatsheet


Related Sites

0 Comments

No comments

RSS feed Comments | TrackBack URI

Write Comment

© Copyright 2003-2008 Zach Graeve and Expert Online Services, LLC
"Embrace Your Vice" (TM) is a Registered Trademark. All Rights Reserved.