It’s a fragment of one of the HTML 4.01 DTDs: the Document Type Definition.
See the tag wiki for dtd which contains further links.
DTDs define formal grammars for XML documents: which tags you can use and where you can use them.
The HTML 4.01 specification you’re reading has an introduction that provides an overview of how the spec is structured.
Sections 2 and 3: Introduction to HTML 4
[…]
The brief SGML tutorial gives readers some understanding of HTML’s relationship to SGML and gives summary information on how to read the HTML Document Type Definition (DTD).
The third section provides an in-depth explanation:
Each element and attribute declaration in this specification is accompanied by its document type definition fragment. We have chosen to include the DTD fragments in the specification rather than seek a more approachable, but longer and less precise means of describing an element’s properties. The following tutorial should allow readers unfamiliar with SGML to read the DTD and understand the technical details of the HTML specification.