The original post specifically mentions dropping the doctype which is not valid. It also implies that you can drop all (or at least many) closing tags without saying that some are optional and some are not.
https://developer.mozilla.org/en-US/docs/Mozilla/Mozilla_qui...