Re:I could do that in a weekend (2016)
by dpcan on Wednesday April 29, 2020 @04:18PM
(#23023709)
There's not even a <body> tag. It just has some header information and jumps right in to the text, but he took the time to add Google Analytics. It's so bizarre.
[ Parent
| on HN ]
You do know that the <body> tag is optional in HTML5? From MDN: The <body> tag “may be omitted if the first thing inside it is not a space character, comment, <script> element or <style> element. The end tag may be omitted if the <body> element has contents or has a start tag, and is not immediately followed by a comment.”
However, in this particular case the body starts with a space character, so it should have a body tag.
A minimal valid HTML5 document looks like:
<!doctype html>
<meta charset=utf-8>
<title>blah</title>
<p>I'm the content