如何在html中闪烁图像?我使用Mozilla Firefox来做html。我的图像没有眨眼。请帮忙! :) [英] How can I blink an image in html? I use Mozilla Firefox to do html. My image dose'nt blink. Please help! :)

查看:62
本文介绍了如何在html中闪烁图像?我使用Mozilla Firefox来做html。我的图像没有眨眼。请帮忙! :)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用此代码:



I use this code currently :

<blink><img src="nirvana.jpg"> </blink>





但它在我的浏览器中不起作用!!



代码块添加 - OriginalGriff [/ edit]



But it dosen't works in my browser !!

[edit]Code block added - OriginalGriff[/edit]

推荐答案

首先:根据喜好,甚至不尝试 - 闪烁通常不是任何网站的好补充 - 它会让我们分心将它视为运动,我们的原始视觉系统将它标记为我们的注意力我改变了。如果你想让人们看看你网站的其他部分,那就太糟糕了。



其次,你不能在图像上使用闪烁标记 - 它不起作用。

相反,您需要创建一个GIF图像,该图像在可见和不可见状态之间连续交替。
First: by preference, don't even try - blinking is not generally a good addition to any website - it's distracting as we see it as movement, and our primitive vision systems flags it to our attention each time it changes. Poor idea if you want people to look at the rest of your site.

Secondly, you can't use the blink tag on images - it doesn't work.
Instead, you would need to create a GIF image which alternates between the "visible" and "invisible" states continuously.


这篇关于如何在html中闪烁图像?我使用Mozilla Firefox来做html。我的图像没有眨眼。请帮忙! :)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆