この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
<!DOCTYPE>
informs the browser which version of HTML (or XML) you used to write the document. Doctype is a declaration, not a tag; you can also refer to it as "document type declaration", or "DTD" for short.
Learn more
General Knowledge
- Document Type Declaration on Wikipedia
- Quirks Mode and Standards Mode
Technical reference
- Document.doctype, a JavaScript method that returns the doctype
- Using multiple DTDs for localizing