get document object from html data node code example Example: DOM <body onload="window.alert('Welcome to my home page!');">