Document type definition (DTD)

A document type definition (DTD) is a set of rules that define the structure and allowed elements within a specific type of document, such as HTML or XML. DTDs are used to ensure that a document is properly formatted and adheres to the expected standards for the language it’s written in.

Insights