Blogger Information
Blog 94
fans 0
comment 0
visits 92671
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
【HTML】视频元素与Iframe框架总结
可乐随笔
Original
396 people have browsed it

视频元素与Iframe

视频元素

  1. video
    • controls:控制按钮
    • autoplay:自动播放
    • muted:静音
    • loop:循环播放
    • poster:海报/封面
  2. audio

iframe框架

  1. - 绑定a.target <==> iframe.name 可以实现导航的功能
  2. - 可以用 a + iframe 实现后台功能

代码实例

  1. <figure>
  2. <!--
  3. 绑定a.target <==> iframe.name
  4. 可以用 a + iframe 实现后台功能
  5. -->
  6. <figcaption>
  7. <a href="https://j.map.baidu.com/04/Alqu" target="city">银川市</a>
  8. <a href="https://j.map.baidu.com/79/f" target="city">北京市</a>
  9. <a href="https://j.map.baidu.com/a8/5" target="city">上海市</a>
  10. </figcaption>
  11. <iframe srcdoc="<p style='color:red'>城市地图显示在这里</p>" name="city" width="500" height="500" frameborder="0"></iframe>
  12. </figure>
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post