This short HTML document contains JavaScript code to display an alert pop-up window with the text "Welcome to my page!" upon loading the page. The <script> tag calls the alert() function, which outputs a message in a basic modal dialog box, to greet the user.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
49 views1 page
Example of alert alert ("Welcome to my page!") ;
This short HTML document contains JavaScript code to display an alert pop-up window with the text "Welcome to my page!" upon loading the page. The <script> tag calls the alert() function, which outputs a message in a basic modal dialog box, to greet the user.