Code
<!DOCTYPE html>
<html>
        <head>
        <title>Wikitechy onmouseover attribute</title>
        </head>
 <body>
        <p onmouseover="mouseOver(this)" onmouseout="mouseOut(this)">
        Move mouse pointer to check onmouseover Event.<br>Learn to Code in Wikitechy.
        </p>
        <script>
        function mouseOver (obj)
          {
             obj.style.color = "red";
          }
                  function mouseOut (obj)
          {
             obj.style.color = "blue";
          }

      
</script>
</body>
</html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

Result