Valid Children of `<html>`
March 25, 2019
The only valid children of a <html>
tag, according to the spec, are <head>
and <body>
. (So my <script>
tag needs to go inside <body
, not outside of it as a direct child of <html>
.
The only valid children of a <html>
tag, according to the spec, are <head>
and <body>
. (So my <script>
tag needs to go inside <body
, not outside of it as a direct child of <html>
.