마우스 포인터가 요소 밖으로 이동할 때 트리거되는 이벤트입니다.
예시
다음 코드를 실행하여 onmouseout 작업 방법을 배울 수 있습니다. 자바스크립트의 이벤트 -
<html>
<head>
<script>
<!--
function sayHello() {
alert("Mouse Out")
}
//-->
</script>
</head>
<body>
<p onmouseout = "sayHello()">This is demo text for mouseover event.</p>
</body>
</html>