JavaScript Program to Create Text Rollover Effect on TextArea

Write a JavaScript program to create text Rollover effect on TextArea.



Source Code
<html>
<head>
    <title>JavaScript Roll Over Effects</title>
</head>
<body>
<textarea rows="2" cols="50" name="rollovertext" onmouseover="this.value='What is rollover?'" onmouseout="this.value='Rollover means  a webpage changes when the user moves his or her mouse over an object on the page'"></textarea> 
</body>
</html>
Output