HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML onloadedmetadata Attribute

HTML onloadedmetadata Attribute



The loadedmetadata event occurs when metadata for the specified audio or video has been loaded. The metadata consists of duration and text tracks.


Following events occur when audio or video is loading:-


  • onloadstart
  • ondurationchange
  • onloadedmetadata
  • loadeddata
  • onprogress
  • oncanplay


Used With:-


Elements Event
audio loadedmetadata
video loadedmetadata




Its syntax is:- < element onloadedmetadata="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML