HTML onabort attribute describes the script to run, that if the loading media file aborts. And this situation in attribute occurs when a media file aborts not because of the error.
HTML onabort attribute
This attribute consists of some elements. And also it is a part of event attributes. It consists of different types of elements like <audio>, <video>,<embed>, <object> and <img>
This attribute supports different types of browsers as follows:
In this <media> & <object> are not supported by InternetExplorer