spelling fix (#153)

Line 24. Changed from "declation" to "declaration".
This commit is contained in:
Becks 2018-12-03 16:05:24 -08:00 committed by Yangshun Tay
parent 4010c438a1
commit 5c5c228672
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ A DOCTYPE is always associated to a **DTD** - for **Document Type Definition**.
A DTD defines how documents of a certain type should be structured (i.e. a `button` can contain a `span` but not a `div`), whereas a DOCTYPE declares what DTD a document *supposedly* respects (i.e. this document respects the HTML DTD).
For webpages, the DOCTYPE declation is required. It is used to tell user agents what version of the HTML specifications your document respects.
For webpages, the DOCTYPE declaration is required. It is used to tell user agents what version of the HTML specifications your document respects.
Once a user agent has recognized a correct DOCTYPE, it will trigger the **no-quirks mode** matching this DOCTYPE for reading the document.
If a user agent doesn't recognize a correct DOCTYPE, it will trigger the **quirks mode**.