doctype
Noun
Meaning
doctype (plural doctypes)
(programming) A directive that associates an SGML or XML document (such as a webpage) with a Document Type Definition, potentially affecting how it is parsed and rendered.
Examples
Associating DTDs with documents A DTD is associated with an XML or SGML document by means of a document type declaration (DOCTYPE).
A faulty DOCTYPE is likely to blame.
A recent DOCTYPE that includes a full URI (a complete web address) tells these browsers to render your page in standards–compliant mode, treating your (X)HTML, CSS, and DOM as you expect them to be treated.
The DTD to which the DOCTYPE refers contains a machine-readable grammar specifying the permitted and prohibited content for a document conforming to such a DTD.
The DOCTYPE appears in the syntactic fragment doctypedecl near the start of an XML document. citation The declaration establishes that the document is an instance of the type defined by the referenced DTD.
The extensibility module is also implemented but is currently disabled citation In order to support web pages designed for legacy versions of Netscape and Internet Explorer, Gecko supports DOCTYPE switching.