Home >Web Front-end >HTML Tutorial >Why does this statement always report an error? What went wrong? _html/css_WEB-ITnose
93f0f5c25f18dab9d176bd4f6de5d30e
4ec11beb6c39d0703d1751d203c17053
function mouseOver(id, pic)
{
document.getElementById(id).src = pic
}
function mouseOut(id, pic)
{
document. getElementById(id).src = pic
}
2cacc6d41bbb37262a98f745aa00fbf0
9c3bca370b5104690d9ef395f2c5f8d1
8c1a3b5eae157c4ced64e4322f27bad5
434a4a41329549fdc9e78a142698a9c35db79b134e9f6b82c0b36e0489ee08ed
b7a376a487143fb5259f907cb0235a03
28dcb1d9ccc782446b3aca73eeafc6c85db79b134e9f6b82c0b36e0489ee08ed
Are you going to have a good time?
<html><head> <script type="text/javascript"> function mouseOver(id, pic) { document.getElementById(id).src = pic } function mouseOut(id, pic) { document.getElementById(id).src = pic } </script></head><body> <a target="_blank" href="mailto:support@xxxxxxxx.com"> <img border="0" id="img1" src="e1.png" height="32" width="32" alt="" onmouseover='mouseOver("img1", "e1.png")'onmouseout='mouseOut("img1", "e0.png")'></a> <a target="_blank" href="https://twitter.com/xxxxxxxx"> <img border="0" id="img2" src="t0.png" height="32" width="32" alt="" onmouseover='mouseOver("img2", "t1.png") 'onmouseout='mouseOut("img2", "t0.png")'></a></body></html>
What a snowball fight? A snowball fight!
Do you want to make a name for yourself?
onmouseover= 'mouseOver("img1", "e1.png") '
onmouseover("img1", "e1.png") '
Thanks for watching Happy birthday?
Thank you, please.
Do you want to have a smile on your face?
Thank you!! If you want to take a look at the rest
, you can get the best results Thank you?
Have a nice smile on your face Happy Birthday to you
Happy birthday, please!
Thank you Please feel free to ask me, please contact me.