Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the documnet</title>
</head>
<body>
<script>
document.write("My first JavaScript example!")
</script>
<noscript>Sorry, your browser does not support JavaScript!</noscript>
<p>In case JavaScript is disabled or the browser doesn't support it, the code will display the content inside the noscript element.</p>
</body>
</html>