Viewing the html source for Googles Privacy Page the header is:
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Google Privacy Center</title>
<link rel="stylesheet" href="//www.google.com/css/privacy.css">
<h1><a href="/"><img src="//www.google.com/intl/en/images/logo_sm.gif" alt="Google"></a> Privacy Center</h1>
I noticed there is no body tag here or in the footer. Also, no ending </html>.
Is this valid markup?
HTML5 (which is what they’re declaring that page as) allows you to omit a lot of stuff. For instance, the
bodytag’s start and end tags are both optional, as is the endinghtmltag (ref).The validator says it’s valid, but the validator’s HTML5 support is also still experimental. YMMV