Corrections to Grammar (#28319)

This commit is contained in:
Liz
2019-01-17 20:12:16 -06:00
committed by Tom
parent 9d8db7e522
commit c85dcacace

View File

@ -46,11 +46,11 @@ The W3C (World Wide Web Consortium) wrote a set of web standards to handle this
To handle this problem, vendors began programming rendering modes into their browsers. Web developers would need to add a doctype declaration to the top of an HTML document. The doctype declaration would tell the browser which rendering mode to use for that document. Three separate rendering modes were generally available across browsers. **Full standards mode** renders pages according to the W3C web standards. **Quirks mode** renders pages in a non standards compliant way. **Almost standards mode** is close to full standards mode, but features support for a small number of quirks.
In the modern age of HTML5, web standards are fully implemented in all major browsers. Web sites are generally developed in a standards compliant way. Because of this the HTML5 doctype declaration only exists to tell the browser to render the document in full standards mode.
In the modern age of HTML5, web standards are fully implemented in all major browsers. Web sites are generally developed in a standards compliant way. Because of this, the HTML5 doctype declaration only exists to tell the browser to render the document in full standards mode.
## Usage
The Doctype Declaration must be the very first line of code in an HTML document, aside from comments, which can go before it if needed. For modern HTML5 documents the doctype declaration should be as follows:
The Doctype Declaration must be the very first line of code in an HTML document, aside from comments, which can go before it if needed. For modern HTML5 documents, the doctype declaration should be as follows:
`<!DOCTYPE html>`