Advertisement
pusatdata

OnMouseOver Background Menggunakan Javascript

Jan 27th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <div id="mydiv" style="width:200px;background:white" onmouseover="this.style.background='gray';" onmouseout="this.style.background='white';">
  2. Jack and Jill went up the hill
  3. To fetch a pail of water.
  4. Jack fell down and broke his crown,
  5. And Jill came tumbling after.
  6. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement