What happens when there's no doctype in a webpage?

The web browser has to guess the HTML versionThe was browser will quit

When there's no doctype in a webpage, the web browser has to guess which version of HTML a webpage uses.