HTML Best codes

Mouse over Alert
  1. <html>  
  2.   
  3. <body> <a href="" onMouseOver="alert('HEY HATT HATT CHALL BHAGG')">YAHA AA JALDI</a> </body>  
  4.   
  5. </html> 
Mouse Over Color Change
  1. <HTML>  
  2.   
  3. <BODY>  
  4.     <TABLE BORDER="2" CELLPADDING="2" WIDTH="100%">  
  5.         <TR onMouseover="this.bgColor='#FFF000'" onMouseout="this.bgColor='#FFFFFF'">  
  6.             <TD>Your Table Data</TD>  
  7.         </TR>  
  8.         <TR onMouseover="this.bgColor='#FF0000'" onMouseout="this.bgColor='#FFFFFF'">  
  9.             <TD>Your Table Data</TD>  
  10.         </TR>  
  11.         <TR onMouseover="this.bgColor='#FFFCCC'" onMouseout="this.bgColor='#FFFFFF'">  
  12.             <TD>Your Table Data</TD>  
  13.         </TR>  
  14.     </TABLE>  
  15. </BODY>  
  16.   
  17. </HTML> 
Open New window by HTML code
  1. <html. <BOSY>  
  2.     <A HREF="FORM ON WEB.HTML" TARGET="TARGETWINDOW"> CLICK HERE TO DISPLAY FORM </A> </BODY>  
  3.   
  4.     </HTML> 
Simply paste/type this code in Notepad (by me)and save this with .htm/.html extension and run ....
 
Thanks !!!