It used to be so that documents with doctypes got standards mode, documents without doctypes got quirks mode. But it seems that these days there are some almost-standard modes, different browsers follow different rules etc.
What's the best doctype to use for HTML? Is there any reason not to use the simplest one <!DOCTYPE html>? Most documents don't follow any particular DTD to the letter anyway.