Three page-level events were introduced in the HTML5 version.eventinstructionDOMContentLoadedTriggered after the DOM tree is formed (at the same time, images, CSS, and JavaScript may still be loaded). In this event, the script runs earlier than the load event, because the load event waits for all re