What are the Quirks mode and the Standards mode?
Gecko has two and a half layout modes: Quirks, Almost Standards and Standards. In the Standards mode Gecko aims to treat documents authored in compliance with the applicable Web format specifications. In the Quirks mode—for the purpose of backwards compatibility—Gecko mimics some behaviors of legacy browsers in ways that are spec violations. The Almost Standards mode is like the Standards mode except it addresses the issue of the next question by rendering table cells with images in the traditional way. The mode is picked based on the doctype declaration (or the lack thereof) at the beginning of an HTML document. • The easiest way to make sure that the Standards mode is activated for HTML, is to use this doctype declaration: • The easiest way to make sure that the Almost Standards mode is activated for HTML, is to use this doctype declaration: The easiest way to activa