HTML onended Event Attribute
The HTML onended Attribute is a event attribute which works when the audio/video is ended. We can add some custom message in this event like “Thank for watching”, “Share”, etc.
Usage: This attribute is used in <audio> and <video> element.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
- Attribute Value: This attribute contains single value script which works when onended event attribute call.
- Google Chrome
- Internet Explorer
- Apple Safari