An alternative to the ancient “marquee” tag?

别说谁变了你拦得住时间么 提交于 2019-12-06 07:35:57

The "marquee" tag was not included in the standard because it's a "visual" tag, not a "semantic" tag. As such, none of the languages that you want have an exact equivalent.

I suggest using Javascript to do animations on your webpage. (I hear that jQuery is a great framework to get started with.)

Note:

As someone pointed out in MSO chat, there is actually a jQuery plugin already written to do what you want. See then jQuery marquee plugin. Also, there is this demo from Remy Sharp.

Technically, the standards equivalent is the CSS3 marquee module. (Technically because good luck finding a browser vendor that will ever actually implement it.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!