A document type definition is a specification file that contains set of markup declarations that define a document type for an SGML-family markup language. The DTD specification file can be used to validate documents.
A DTD defines the valid...
Wikipedia