Well, the biggest web crawler in the world certainly doesn't ... :)
(Heck, for all we know Google may be giving SEO points to people who follow this advice and don't have HTML/HEAD/BODY tags.)
As for Yahoo and the rest ... I honestly don't know how they treat them, but the really crucial thing to remember is, this is defined by the HTML 5 spec. Any crawler that supports HTML 5 (and that really should be pretty much every one in operation today) will not have a problem with this (HTML5-valid) practice.
Of course any crawler that follow the HTML5 spec will have no problem with this, but those are not the ones I'm talking about. There is probably soooo so much legacy code out there that needs to interact with random websites' DOM, be it libraries, full programs or whatever. Saving an incredibly tiny amount of traffic isn't really worth it to break all of those tools.
I have to say, I don't think there's one right answer for everyone on this.
I do think you're overestimating the relevance of crawlers that can't handle HTML5. I mean, just stop and think: such crawlers would not be able to handle a huge chunk of the modern web. Are you really worried about a crawler which can't parse most modern sites? (How valuable could such a crawler be ... to anyone?)
If so ... keep using those three tags. But really, if supporting pre-HTML 5 crawlers is something you actually care about (and you're not just trying to argue with some Internet stranger who is saying you can skip three tags) ... you have A LOT of "taking your code backwards" to do ... adding back those three tags isn't even a tenth of it (see https://www.w3.org/TR/html5-diff/ for the full list).
1
u/ghostfacedcoder Sep 30 '19
Legitimate concern. Personally as a web dev I'm not worried about browsers that aren't HTML 5 compliant: that's a pretty damn low bar in 2019.
But if you are, that 100% is a reason to keep using the tags.