(DTD) The definition of a document type in SGML or XML, consisting of a set of mark-up tags and their interpretation.