The onload event can be used to check the visitor's browser type and browser Which attribute is used to specify an alternate text for an image, if the image is not loaded properly in HTML ? Global functions are methods of the window object. If you want to add more, just use addEventListener(), which is the preferred way for adding events. Identify links that will open new windows in a way that helps navigation for users. To view the purposes they believe they have legitimate interest for, or to object to this data processing use the vendor list link below. Even the document object (of the HTML DOM) is a . ,