需求,要求一段 文字滚动循环显示播出
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>跑马灯</title>
</head>
<body>
<marquee direction=up scrolldelay="10" scrollamount="5" loop="-1" behavior="scroll" hspace="200"
vspace="100" onMouseOver="this.stop()"
onMouseOut="this.start()" width="100%" height="100px" bgcolor = "blue" >

<p>恭喜 135****2801会员成功。</p>
<p>恭喜 138****2251会员成功。</p>
<p>恭喜 159****3368会员成功。</p>
<p>恭喜 135****2287会员成功。</p>
<p>恭喜 155****2567会员成功。</p>
<p>恭喜 152****8967会员成功。</p>
<p>恭喜 139****5468会员成功。</p>
</marquee>
</body>
</html>
总结:主要用到了html中的marquee标签

相关文章:

  • 2021-08-30
  • 2022-01-12
  • 2021-09-14
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-14
  • 2022-12-23
  • 2021-12-31
  • 2022-02-05
  • 2022-02-17
相关资源
相似解决方案