DTD Introduction : XML DTD

In order to understand, you must have some basic knowledge of XML.

XML DTD Introduction :

  1. DTD stands for Document Type Definition (DTD)
  2. DTD is used to define structure of a document encoded in XML
  3. DTD is used to define legal building blocks of an XML document.
  4. DTD provids us list of all legal elements and attributes defined in the XML file
  5. DTD is declared inside the XML document or it can be defined as an external dtd file.