在html页面上闪烁文本 [英] Blink Text on html page

查看:234
本文介绍了在html页面上闪烁文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在页面上闪烁文字?

解决方案

好吧,那可以是CSS动画。请参阅: http://stackoverflow.com/questions/20270096/how-to -make-text-blink-on-website [ ^ ]。



使用< blink> 元素,主要从支持中删除。为什么你认为它被丢弃了?我想因为它会非常烦人。我建议你永远不要使用闪烁。它可能会非常恼人,许多用户可能会选择离开您的网站而永远不会回来。想试试吗?这是你的选择,但请考虑我警告过你。



-SA


你甚至可以使用CSS:



  text-decoration:闪烁; 





但它只适用于几个较旧的浏览器,因为它已被弃用(http://css-tricks.com/almanac/properties/t/text-decoration/ [ ^ ])和我的评论:

<但是我完全赞同谢尔盖说,闪烁的文字在网页上真的很烦人,因为眼睛被这个闪烁的文字打扰了。我个人忽略完全闪烁的文本,因为它们主要用于欺诈广告主要目的只是偷你钱...... 。



所以保持记住,如果你使用它,人们可以停下来观察你创造的和一些人(有疾病,如癫痫症

[ ^ ])甚至可以获得被闪烁的元素所破坏(根据Gianluca Troiani CSS - 第三版,Apogeo)。并且还要记住,如果用户离开您的页面并且因为这些元素而没有回来,您的SEO排名将无可救药地减少...



无论是否使用它都是您的选择或不,但我建议你不要使用它。



希望这有帮助...



LG


How can i blink a text on my page??

解决方案

Well, that can be CSS animation. Please see: http://stackoverflow.com/questions/20270096/how-to-make-text-blink-on-website[^].

There use to be the <blink> element, majorly removed from support. Why do you think it was dropped? I think because it would be very annoying. I would recommend you to never even use blinking. It can be so irritating, that many users may choose to leave your site and never come back. Want to try it? It's your choice, but consider I warned you.

—SA


You can even use CSS:

text-decoration: blink;



But it will work just with few older browsers as it was deprecated because of the explaination given there (http://css-tricks.com/almanac/properties/t/text-decoration/[^]) and in my comment:

"However I completely agree with Sergey saying that blinking text is really annoying on a webpage as the eye is disturbed by this blinking text. I personally ignore completely blinking texts because they are mainly used in fraudulent advertisements which main aim is only to steal you money...".

So keep in mind that if you use it people can stop to watch whta you've created and some people (with illnesses such as Epilepsy
[^]) can even get damaged by this blinking elements (according to Gianluca Troiani CSS - third edition, Apogeo). And remember also that if users leave your page and do not come back because of those elements, your SEO ranking will hopeless decrease...

It's your choice whether using it or not, but I suggest you not to use it.

Hope this helped...

LG


这篇关于在html页面上闪烁文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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