जब माउस पॉइंटर किसी तत्व से बाहर निकलता है, तो ऑनमाउसआउट विशेषता ट्रिगर। ऑनमाउसआउट . को लागू करने के लिए आप निम्न कोड आज़मा सकते हैं विशेषता -
उदाहरण
<!DOCTYPE html>
<html>
<body>
<h3 id = "myid" onmouseout = "mouseOut()">
This is demo heading.
</h3>
<p>Click above and then release.</p>
<script>
function mouseOut() {
document.getElementById("myid").style.color = "red";
}
</script>
</body>
</html>