How to add an element after the opening body tag on an empty HTML page?

I know you like to say that, @felgall, but the OP explicitly said that the body was empty, so no <script> tags before </body> (which would make it an element inside the body).