Skip to content Skip to sidebar Skip to footer

Which Html5 Elements Have Onload/"load Event"?

Mozilla's MDN informs about the load Event with this stub: The load event is fired when a resource and its dependent resources have finished loading. and links to standard 1,

Solution 1:

Supported HTML tags are as follows : <body>, <frame>, <iframe>, <img>, <input type="image">, <link>, <script>, <style>

I tested it on <h1> tag but it didn't work out

<h1onload="myFunction()">Hello World!</h1>;

For more details, visit W3 schools

Post a Comment for "Which Html5 Elements Have Onload/"load Event"?"