HTML preload Attribute
HTML preload Attribute
The preload attribute is used to specify if and how the author thinks that the media file should be loaded when the page loads. It allows the author to provide a hint to the browser about what they think will lead to the best user experience. It is ignored if the autoplay attribute is present.
Used With:-
Elements | Attribute |
---|---|
audio | preload |
video | preload |
Syntax:-
Its syntax is:- < element preload="value" >