Possible Duplicate:
What's up, Doctype?
Adding DOCTYPE is a best practice -- HTML validators expect to see it. In theory, it makes the document better by declaring which flavor of HTML is being used. In other words, it is something you should always do.
That said, I don't see any cases where browsers seem to use it. I've tried multiple flavors of HTML in various browsers and am unable to find a single example where the document renders differently when DOCTYPE is added.
Does anyone know of a case where the DOCTYPE has any real effect in a browser?
This question is different from What is DOCTYPE? which does not ask for specific examples where the presence of DOCTYPE has an observable effect in a browser.