top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What’s the difference between standards mode and quirks mode?

+1 vote
293 views
What’s the difference between standards mode and quirks mode?
posted Aug 29, 2014 by Deepak Negi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

If a browser sees a full DTD as the FIRST element of a document, including the W3C URL for the details, then it renders the page in "standards" mode. Because standards are still relatively young, there is some variation from one browser to another, but it's usually minor.

But if a browser sees no DTD, or a partial DTD, then it goes into "quirks mode", which essentially means rendering the page the wrong way, but the way we were used to up until version 6.

What this all means in specific detail is way beyond the scope of one thread. But I thought it would be very useful to have this explanation and a set of references in one spot, to get people started out on the right foot if this is all new to them. More and more, you will see these two modes mentioned in threads.

answer Aug 30, 2014 by Amit Kumar Pandey
...