দি অনমাউসওভার ৷ অ্যাট্রিবিউট ট্রিগার হয় যখন একটি মাউস পয়েন্টার HTML এ একটি উপাদানের উপর চলে যায়।
উদাহরণ
আপনি onmouseover বাস্তবায়ন করতে নিম্নলিখিত কোড চালানোর চেষ্টা করতে পারেন বৈশিষ্ট্য −
<!DOCTYPE html>
<html>
<body>
<h3 id = "myid" onmouseover = "display()">
This is demo heading.
</h3>
<p>Keep the mouse cursor on the heading to change the color.</p>
<script>
function display() {
document.getElementById("myid").style.color = "red";
}
</script>
</body>
</html>