Note that the script goes in the HEAD of the document.
<Html> <Head> <title>Alerting the user</title>
<script language=javascript> <!-- Hide script from old browsers alert ("Welcome to Web Builder 101") // end hiding script from old browsers -->
</script> <Body bgcolor=white></body> </html>
Click here to see it in action.
Suggested Reading
Beginning Active Server Pages 3.0 JavaScript Bible Red Hat Linux Dreamweaver 3.0 HTML Bible
» About » Support
» FAQ » What's New » MyLog
.