Skip to content

Instantly share code, notes, and snippets.

@benjick
Last active April 6, 2016 19:33
Show Gist options
  • Save benjick/36b96bc13205240331d4bce1fd049862 to your computer and use it in GitHub Desktop.
Save benjick/36b96bc13205240331d4bce1fd049862 to your computer and use it in GitHub Desktop.
<div>This is stuffed into the <body></div>
<p>Also this</p>
alert("yolo"); // this gets executued
.p { font-size: 12px; } /* and this gets put into a <style></style>
<html>
<head></head>
<body>
<div>This is stuffed into the <body></div>
<p>Also this</p>
<style>
.p { font-size: 12px; }
</style>
<script>
alert("yolo"); // this gets executued
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment