多媒体标记

标记 意义
<BGSOUND> 背景音乐
<EMBED> 其它媒体

BGSOUND

参数 意义
src = "my.mid" 声音文件 URL
autostart = true 是否自动播放
loop = infinite 重复播放
loop = 2 重复播放 2 次

EMBED

参数 意义
SRC = "my.mid" 媒体文件 URL
width = 画面宽度
height / high = 画面高度
hidden = true /false 是否隐藏控制画面
autostart = true / false 是否自动播放
loop = true / false 是否重复播放
loop = 2 重复播放 2 次
name =  嵌入对象名
starttime = "00:30" 开始播放时间位置
volume = 50 音量,0-100
scale = exactfit 拉伸画面(Flash)
bgcolor = 背景颜色
align = 对齐方式
controls = 控制画面外貌
play()  
stop()  
pause()  
resume()  

APPLET

类型 意义
width 宽度
height 高度
code 文件名
codebase 文件路径

对齐方式

类型 意义
top  
bottom  
center  
baseline  
left  
right  
texttop  
middle  
absmiddle  
absbottom  

控制画面外貌

类型 意义
console 一般正常的面板
smallconsole 较小的面板
playbutton 只显示播放按钮
pausecutton 只显示暂停按钮
stopbutton 只显示停止按钮
volumelever 只显示音量调整钮