DTDs
Document Type Definitions (DTDs) are a schema language used to define the structure and legal content of SGML and XML documents. A DTD specifies which elements are permitted, the order and nesting of child elements, and the attributes that elements may have. It can also declare entities and notations used within the document.
DTDs originated with SGML, the ancestor of XML, and were carried into XML as a lightweight schema
An external DTD subset is referenced from the DOCTYPE via PUBLIC or SYSTEM identifiers, for example a
Validation and limitations: If a parser is configured to validate, a document can be checked against its
DTDs remain in use in legacy SGML/XML contexts and for simple validation tasks, though many modern XML