滚动字幕标记<marquee></marquee>

<marquee>滚动内容</marquee>

常用属性:

  Direction : 滚动方向 取值 up, down left right

  width   :滚动宽度

  height  : 滚动高度

  scrollAmount : 滚动步长值 值越大 滚动的越快

  scrollDellay : 两步之间的停留时间  毫秒单位 1000毫秒 = 1秒

  loop      :循环滚动的次数 

<marquee direction="right" scrollAmount="2"> hello </marquee>

原文地址:https://www.cnblogs.com/yd09023/p/5838663.html