In reference to computers DTD stands for document type definition. It is defined as,
"a set of markup declarations that define a document type for SGML-family markup languages (SGML, XML, HTML). DTDs use a terse formal syntax that declares precisely which elements and references may appear where in the document of the particular type, and what the elements' contents and attributes are."
- wikipedia
See links for full article