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

HTML onerror Attribute



The error event occurs when an error occurred during the loading of a media file.


Used With:-


Elements Event
audio onerror
body onerror
embed onerror
img onerror
link onerror
object onerror
script onerror
video onerror




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

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML