What is Quirks mode in HTML5?

What is Quirks mode in HTML5?

In quirks mode in html the layout emulates the nonstandard behaviour in Navigator4(old web browser) and Internet Explorer 5. This was required because of the web browser that were built before the adoption of web standards.