Skip to content
Related Articles

Related Articles

Improve Article

HTML onseeked Attribute

  • Last Updated : 06 Aug, 2021

The HTML onseeked Attribute is a event attribute which occurs when the user finishes the skips the media to a new position.


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

  • <audio> 
  • <video>


<element onseeked="Script">

Attribute Value: This attribute contains single value script which works when onseeked event attribute call. This attribute is supported by <audio> and <video> tags.



<!DOCTYPE html>
        HTML onseeked Attribute
        <h1 style="color:green">GeeksforGeeks</h1>
        <h2>HTML onseeked Attribute</h2>
            <audio controls id="audio">
            <source src="beep.mp3" type="audio/mpeg">
        "audio").addEventListener("seeked", GFGfun);
        function GFGfun() {
            alert("Media Skipped");


Supported Browsers: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera


My Personal Notes arrow_drop_up
Recommended Articles
Page :