Skip to content

Instantly share code, notes, and snippets.

@chrisb
Created Mar 13, 2012
Embed
What would you like to do?
<html>
<head>
<title>my title</title>
</head>
<body>
<script>
document.body.style.background = 'lightgreen';
document.write("<div style='font-family:Arial,sans-serif;font-size:14pt;font-weight:bold;'>Hello, world! Isn't life great?</div>");
</script>
<noscript>
You do not have Javascript enabled.
</noscript>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment