Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <script> function bgChange(bg) { document.body.style.background=bg; } </script> </head> <body> <h2>Change background color</h2> <p>Mouse over the squares!</p> <table style="width:300;height:100"> <tr> <td onmouseover="bgChange(this.style.backgroundColor)kgroundColor)kgroundColor)kgroundColor)" onmouseout="bgChange('transparent')" style="background-color:Khaki"> </td> <td onmouseover="bgChange(this.style.backgroundColor)kgroundColor)kgroundColor)kgroundColor)" onmouseout="bgChange('transparent')" style="background-color:PaleGreen"> </td> <td onmouseover="bgChange(this.style.backgroundColor)kgroundColor)kgroundColor)kgroundColor)" onmouseout="bgChange('transparent')" style="background-color:Silver"> </td> </tr> </table> </body> </html>
Result:
W3Schools.com - Try it yourself