Each SGML document must refer to a DTD.
The Document Type Definition consists of:
formally specifies what markup can appear in the document type and in what relation to other markup and data
specifies what the defined elements mean:
<date>Joe</date>
can be formally OK, but is
nonsense.
The formal DTD consists of: