HTML onloadstart Attribute

❮ HTML Attributes

Example

<video id="myVideo" onloadstart="myFunction()">

Meaning

The onloadstart script run when the browser starts looking for the audio/video.




Standard Syntax

<element onloadstart="script">



Browser Support




Status




Applies to:

The onloadstart attribute can be used on the following element:

Element Attribute
<audio> loadstart
<video> loadstart






Attribute Values

Value Description
script Specifies the script to be run on loadstart.
❮ HTML Attributes