Skip Navigation | Groups

This site uses cookies- for more information see the Cookie Policy | Continue

Tags

General HTML

2008120101 Email to Ronx
 

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