Answering Front-end Developer Interview Questions: “What does a doctype do?”
tldr; While doctypes initially worked to help the browser understand what version of XML document you were using, the official recommendation is to use standards mode, which is signified simply by…