<embed>媒体标签

<embed>标签定义嵌入的内容,比如插件。<embed> 标签是 HTML 5 中的新标签。
hidden:设置是否显示
src:嵌入内容的 URL。
loop:设置移动的次数
scrollamount:移动速度
注意:<embed> 标签必须有 src 属性。
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  5. <title>媒体标签</title>
  6. <meta name="keywords" content="embed, 标签"/>
  7. <meta name="description" content="<embed> 标签定义外部(非 HTML)内容的容器。(这是一个 HTML5 标签,在 HTML4 中是非法的,但是所有浏览器中都有效)。"/>
  8. </head>
  9. <body>
  10. <!--
  11. hidden:设置是否显示
  12. src:嵌入内容的 URL。
  13. loop:设置移动的次数
  14. scrollamount:移动速度
  15. -->
  16. <embed height="100" width="300" src="饿狼传说.mp3" hidden="false"/>
  17. <marquee loop="2" direction="right" scrollamount="60"> <font size="+3" color="red">请叫我木丁西。。。。</font></marquee>
  18. <marquee direction="right" scrollamount="60"> <font size="30" color="red">请叫我木丁西。。。。</font></marquee>
  19. <marquee direction="left" scrollamount="20"> <font size="30" color="red">请叫我木丁西。。。。</font></marquee>
  20. </body>
  21. </html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值