10.1设置滚动字体
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
10.1.1滚动文字标签marquee<br>
10.1.2滚动方向属性direction<br>
10.1.3设置滚动方式behavior:一次scroll;slide一次;alternate来回交替滚动
10.1.4滚动速度属性:scrollamount
10.1.5滚动延迟属性:scrolldelay:文字滚动的时间间隔
10.1.6滚动循环属性:loop循环次数
10.1.7滚动范围属性:width,heigth
10.1.8滚动背景颜色属性bgcolor
10.1.9滚动控件属性:hpace,vspace水平以及垂直范围
<marquee><font color="aqua" size="20">欢迎您</font></marquee>
<marquee direction="down"><font color="aqua" size="20">欢迎您</font></marquee>
<marquee direction="up"><font color="aqua" size="20">欢迎您</font></marquee>
<marquee direction="left"><font color="aqua" size="20">欢迎您</font></marquee>
<marquee direction="right"><font color="aqua" size="20">欢迎您</font></marquee>
<marquee direction="right" behavior="slide"><font color="aqua" size="20">欢迎您</font></marquee>
<marquee bgcolor="blue" direction="right" behavior="slide" scrollamount="50"><font color="aqua" size="20">欢迎您</font></marquee>
</body>
</html>
10.2添加背景音乐
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
10.2.1设置背景音乐-bgsound
10.2.2设置循环次数loop
<bgsound src="位置" loop="循环次数"></bgsound>
</body>
</html>
10.3添加多媒体文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<embed>
10.3.1添加多媒体文件标记-embed
10.3.2设置自动运行-autostart:true,false
10.3.3设置循环次数-loop
10.3.4-隐藏面板-hidden
10.3.5添加其他类型的媒体文件:多媒体后缀不一样
<embed src="多媒体文件地址" width="" height=""></embed>
</body>
</html>