যখন মাউস পয়েন্টার একটি উপাদান থেকে সরে যায়, তখন অনমাউসআউট বৈশিষ্ট্য ট্রিগার আপনি onmouseout বাস্তবায়ন করতে নিম্নলিখিত কোড চেষ্টা করতে পারেন বৈশিষ্ট্য −
উদাহরণ
<!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>