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 ontimeupdate Attribute

HTML ontimeupdate Attribute



The ontimeupdate attribute is used to define a script to run when the playing position of an audio or video has changed. It is invoked by:-

  • Playing the audio or video.
  • Moving the playback position.


Used With:-


Elements Event
audio ontimeupdate 
video ontimeupdate 




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

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML