aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/dtd
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/glossary/dtd')
-rw-r--r--files/zh-cn/glossary/dtd/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/dtd/index.html b/files/zh-cn/glossary/dtd/index.html
new file mode 100644
index 0000000000..5ed258a753
--- /dev/null
+++ b/files/zh-cn/glossary/dtd/index.html
@@ -0,0 +1,8 @@
+---
+title: DTD
+slug: Glossary/DTD
+translation_of: Glossary/Doctype
+---
+<p>{{page("/en-US/docs/Glossary/Doctype")}}</p>
+
+<p><font face="Courier New">&lt;!DOCTYPE&gt;</font> informs the <a class="glossaryLink" href="https://developer.mozilla.org/en-US/docs/Glossary/browser" title="browser: A Web browser is a program that retrieves and displays pages from the Web, and lets users access further pages through hyperlinks."><u><font color="#0066cc">browser</font></u></a> which version of <a class="glossaryLink" href="https://developer.mozilla.org/en-US/docs/Glossary/HTML" title="HTML: HTML (HyperText Markup Language) is a descriptive language that specifies webpage structure."><u><font color="#0066cc">HTML</font></u></a> (or <a class="glossaryLink" href="https://developer.mozilla.org/en-US/docs/Glossary/XML" title="XML: eXtensible Markup Language (XML) is a generic markup language specified by the W3C. The IT industry uses many languages based on XML as data-description languages."><u><font color="#0066cc">XML</font></u></a>) you used to write the document. Doctype is a <a class="new glossaryLink" href="https://developer.mozilla.org/en-US/docs/Glossary/declaration" title="The definition of that term (declaration) has not been written yet; please consider contributing it!"><u><font color="#0066cc">declaration</font></u></a>, not a <a class="glossaryLink" href="https://developer.mozilla.org/en-US/docs/Glossary/tag" title="tag: In HTML a tag is used for creating an element.  The name of an HTML element is the name used in angle brackets such as &lt;p> for paragraph.  Note that the end tag's name is preceded by a slash character, &quot;&lt;/p>&quot;, and that in empty elements the end tag is neither required nor allowed. If attributes are not mentioned, default values are used in each case."><u><font color="#0066cc">tag</font></u></a>; you can also refer to it as "document type declaration", or "DTD" for short.</p>