HTML

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

FAQs

HTML onpause Attribute

HTML onpause Attribute

 

 

The onpause attribute is used to define a script to be run when the audio or video is paused either programmatically or by the user. It is the opposite of onplay attribute which defines a script when audio or video is just started or is no longer paused.

 

Used With:-

 

Elements Event
audio pause
video pause

 

Syntax:-

 

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

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML