Skip to content
EntityQ212327· pop 32· linked from 141 articles

Document Type Definition

Sign in to save

Also known as DTD

set of markup declarations that define a document type for an SGML-family markup language

In the Vinony graph

Vinony's link graph records 141 inbound references to Document Type Definition, and connects out to Extensible HyperText Markup Language, Uniform Resource Identifier and XML schema.

Vinony files it under SGML and XML.

Vinony links it to 31 Wikipedia language editions.

Wikidata facts

Instance of
file format
Part of
HTML
Show 4 more facts
Stack Exchange tag
stackoverflow.com/tags/dtd
file extension
dtd
media type
application/xml-dtd
Sources (4)

via Wikidata · CC0

~38 min read

Encyclopedic overview

A document type definition (DTD) is a specification file that contains a set of markup declarations that define a document type for an SGML-family markup language (GML, SGML, XML, HTML). The DTD specification file can be used to validate documents.

A DTD defines the valid building blocks of an XML document. It defines the document structure with a list of validated elements and attributes. A DTD can be declared inline inside an XML document, or as an external reference.

Excerpted from Wikipedia’s “Document Type Definition” article, available under the CC BY-SA 4.0 licence.

Categories