Home Article Practice 多媒体标签

多媒体标签

2023-06-15 15:58  views:386  source:心丶慌了    

video视频标签
属性:
src=“视频路径”,导入视频
autoplay,自动播放视频(无属性值)
controls,控制栏(无属性值)
muted,关闭视频声音(无属性值)
loop=“播放次数”,自动循环播放次数
poster=“图片路径”
width=“数值”,视频宽度
height=“数值”,视频高度
audio音频标签
属性:
src=“音频路径”,导入音频
autoplay,自动播放音频(无属性值)
controls,控制栏(无属性值)
loop=“播放次数”,自动循环播放次数
source媒介标签(用于更改文件格式后缀名)
属性:
src=“路径(后缀名更改)”,用于修改媒体格式
embed嵌入媒体标签
src=“路径”



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)