Web Technology20815 marksHTML Events
What is onload event in HTML? Write an HTML script that displays alert message 'Hello Nepal' in onload event.
What is onload event in HTML? Write an HTML script that displays alert message 'Hello Nepal' in onload event. [5]
The onload event is an event handler in HTML/JavaScript that is triggered automatically when a web page (or an element such as an image) has completely finished loading in the browser. It is commonly used with the <body tag. - It belongs to the category of Event Handlers -- JavaScript code placed...