Document type declaration
noun
say it: “DOK-type” /ˈdɒktaɪp/ or “DOK-yuh-ment TYPE dek-luh-RAY-shun” /ˈdɒkjəmənt taɪp ˌdɛkləˈreɪʃən/
The first line of an HTML file, written doctype html, that tells the browser to read the page by today's HTML rules.
What is Document type declaration?
Document type declaration — The declaration at the start of a document that tells browsers to use modern HTML parsing.
<!doctype html>
In a sentence
- “I put the doctype at the very top of index.html, before the html tag.”
Level: Novice · More HTML terms at this level
Updated