在html中怎么改变文字的滚动速度!

来源:百度知道 编辑:UC知道 时间:2024/06/17 00:35:05

<html>
<head><title>文字滚动</title></head>
<body>
<marquee direction="left" behavior="scroll" scrollamount="10" bgcolor="" width="1000" height="" scrolldelay="">
你好,中国!!!
</marquee>
</body>
</html>

利用scrollamount来改变滚动速度,你可以改变几个数字试试。scrolldelay=正整数:设置字幕或文本滚动的延迟时间,其他的几个属性都知道吧。