Skip Navigation

  Why use a !Doctype?

Category File Author Send email Website
Category
General HTML
2008120101 Ronx to Ronx www.rxs-enterprises.org

Why use a !Doctype

How a !doctype affects page rendering


This page demonstrates some of the bits in a page that are affected by !doctypes.  It does not attempt to provide examples of everything affected, and in some browsers you may not see any differences.  View the page in (at least) Internet Explorer and FireFox.

The iFrames below show the page content - first with a valid, complete doctype, and the second with no doctype These links to the pages open in new windows, so they can be compared as pages outside the iFrames.

Complete, Valid !doctype

No !doctype

Related Pages
Other WebFaqs Pages

MVP Logo