document type definition, aka document type definition, is a grammar language created in 1996. A document type definition (DTD) is a set of markup declarations that define a document type for an SGML-family markup language (SGML, XML, HTML). A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list of legal elements and attributes. Read more on Wikipedia...

24Years Old 20Users ?Jobs
  • document type definition ranks in the top 25% of languages
  • the document type definition wikipedia page
  • document type definition first appeared in 1996
  • See also: xml, html
  • Have a question about document type definition not answered here? Email me and let me know how I can help.

Example code from Wikipedia:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE people_list [
  <!ELEMENT people_list (person*)>
  <!ELEMENT person (name, birthdate?, gender?, socialsecuritynumber?)>
  <!ELEMENT name (#PCDATA)>
  <!ELEMENT birthdate (#PCDATA)>
  <!ELEMENT gender (#PCDATA)>
  <!ELEMENT socialsecuritynumber (#PCDATA)>
    <name>Fred Bloggs</name>

Last updated August 9th, 2020

Edit document type definition on GitHub