Edit This Code:
<!DOCTYPE html>
<html>
<body>

<h1 onmouseover="style.color='red'"
onmouseout="style.color='black'"
>

Mouse over this text</h1>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy