| Refresh | Home EGTry.com

use onmouseover and onmouseout to display instant tooltip of html element


CommentsHTML sourcedisplay in your current browser
please mouse over to the blue letter X
<font title="110">Y</font>
=<font 
title="X=100" 
style="color:blue" 
onmouseover="this.innerHTML='100';this.style.color='red';" 
onmouseout="this.innerHTML='X'; this.style.color='blue'"
>X</font>
+10;

Y =X +10;