Here is the code:
<h2>Change Link's Text</h2>
<div onMouseOver="this.innerHTML = 'RoseIndia'"
onMouseOut="this.innerHTML = 'Java Tutorials'">Java Tutorials</div></a>
Output will be displayed as:
On passing the mouse pointer over the link, it will change the text:
Recommend the tutorial