zl程序教程

您现在的位置是:首页 >  大数据

当前栏目

HTML第一个节点学习笔记

2023-09-27 14:27:30 时间

<marquee direction="right" behavior="scroll" scrollamount="10" scrolldelay="10">这是一个滚动字幕。</marquee>
<marquee direction="left"  scrollamount="2" >
    <img src="rabbit.gif" align="bottom">
    <img src="rabbit.gif" height="100" align="bottom">
    <img src="rabbit.gif" height="50" align="bottom">
 </marquee>

滚动标签



marquee滚动标签,direction滚动方向,behavior滚动方式 scrollamount滚动速度,scrolldelay停顿时间

scrollamount 属性:值是正整数,默认为6

behavior 属性 ,值可以是scroll(连续滚动)、slide(滑动一次)、alternate(来回滚动

scrolldelay 属性,值是正整数,默认为0,单位是毫秒。

direction属性,值可以是leftrightupdown,默认为left