중단 시 사용 이미지 로드를 중단하는 이벤트입니다. 다음 코드를 실행하여 JavaScript에서 중단 이벤트를 구현하는 방법을 배울 수 있습니다.
예시
<!DOCTYPE html>
<html>
<body>
<script>
function abortFunc() {
alert('Error- Loading of the image aborted');
}
</script>
<img src="/videotutorials/images/tutor_connect_home.jpg" onabort = "abortFunc()">
</body>
</html>