The DOCTYPE declaration of a HTML document defines the defines the document type of a webpage wich in turn controls the layout mode in which a web browser renders the document.
In order to render a document in full standard mode, the following DOCTYPE declaration needs to be put at the start of a HTML document:
<!DOCTYPE html>
If there is anything before the <!DOCTYPE html> declaration, the document will be assumed to be in quirks mode.