1. Internal Scripts can be either in the Body or Head section of a web page
In either case we use the script tag to enclose the code
Body Script
<body>
Some text
<script type='text/javascript'>
window.alert('hi there');
</script>
Some other stuff
</body>
We use window.alert() which is an optional and more formal way of calling an alert box.
(alert() is actually a method of the window object)
The type='text/javascript' is optional in html5.
Exercise
Include the code snippet in a web page above and display it in a browser