<html> <head> <title>A Simple Page</title> <script language="JavaScript"> yourMessage(); function yourMessage() { alert("Your first function!"); } </script> </head> <body> </body> </html>