using dom to create web page code example Example: DOM <body onload="window.alert('Welcome to my home page!');">