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

HTML oncanplay Attribute



The oncanplay attribute defines a script to run when the browser can start playing the specified media.


Used With:-


Elements Event
audio canplay
embed canplay
object canplay
video canplay




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

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML