onmouseover इवेंट तब ट्रिगर होता है जब माउस पॉइंटर किसी एलिमेंट के ऊपर जाता है।
उदाहरण
JavaScript में onmouseover इवेंट के साथ काम करना सीखने के लिए निम्न कोड चलाएं:
<html>
<head>
<script>
<!--
function sayHello() {
alert("Mouse Over");
}
//-->
</script>
</head>
<body>
<p onmouseover="sayHello()">This is demo text for mouseover event.</p>
</body>
</html>