Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q2005 What is a DOCTYPE?

You are here: irt.org | FAQ | HTML | Q2005 [ previous next ]

A DOCTYPE statement (or DTD), located on the first line of an HTML document, designates the standard of HTML which you have chosen to use. HTML Validators require DTD statements. Without a DTD, they will usually fall back to a default DTD (many times HT ML 2.0), most times causing many errors.

Three common DTDs are:

There are many more DTD statements available for use, in the Helpful URLs section you will find a link for a listing of them.

©2018 Martin Webb