*Unfortunately, dev.to embeds blog posts in the body, so you need to click here to enjoy the true <body>-less experience. I also embedded it below for your convenience:
For further actions, you may consider blocking this person and/or reporting abuse
Oldest comments (8)
Very unexpected behaviour of head, really interesting.
Surprisingly cool!
Huh! never knew that was possible... what an interesting experiment :)
not sure how big G likes that -> SEO wise I mean. 🤓
Oh, interesting thought! I honestly don't know. It has a title and description, so that's good, but it literally has nothing else. So maybe Google thinks it's a blank page?
Interesting...but whats the point? :)
Good question! I think the most useful thing of these hacks is the visible, contenteditable style tag. I have a web app where the users can apply their own styling by providing a user-styles.css file.
With this trick they could write it on the page itself and immediately see the effects.
Gotcha!