What distinguishes DTD from XML?
DTD, which stands for Document Type Definition, is a document that specifies how an XML document should be structured. It is used to precisely describe the attributes of the XML language. It can be divided into internal DTD and external DTD types. It may be stated externally or internally in a document.