DTD stands for Document Type Definition, which describes a document written in XML. XML declaration syntax is defined in DTD. Naming convention rules of different types of elements are also defined in DTD.