.dtd DTD-Datei
Text & Quellcode
| MIME-Typ | application/xml-dtd |
|---|---|
| Beschreibung | DTD-Datei |
| Abkürzung | DTD – Document Type Definition |
| Kategorie | Text & Quellcode |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .dtd-Datei?
Eine .dtd-Datei ist ein Format vom Typ „DTD-Datei“ (MIME-Typ application/xml-dtd). DTD steht für Document Type Definition.
Womit öffne ich eine .dtd-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .dtd-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.dtd den vermuteten Typ.
Auf welchem Format basiert .dtd?
Technisch ist eine .dtd-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .dtd?
Der MIME-Typ ist application/xml-dtd. Im Apache-Webserver: AddType application/xml-dtd .dtd; in nginx: types { application/xml-dtd dtd; }.