HTML<embed>标签实例
嵌入图片:
<embedtype="image/jpg"src="https://static.runoob.com/images/runoob-logo.png"width="258"height="39">
嵌入HTML页面:
<embedtype="text/html"src="snippet.html"width="500"height="200">
嵌入视频:
<embedtype="video/webm"src="video.mp4"width="400"height="300">
浏览器支持
InternetExplorer,Firefox,Opera,GoogleChrome,Safari
所有主流浏览器都支持<embed>标签。
标签定义及使用说明
<embed>标签定义了一个容器,用来嵌入外部应用或者互动程序(插件)。
注意:现在已经不建议使用<embed>标签了,可以使用<img>、<iframe>、<video>、等标签代替。
HTML4.01与HTML5之间的差异
<embed>标签是HTML5中的新标签。
全局属性
<embed>标签支持HTML的全局属性。
事件属性
<embed>标签支持HTML的事件属性。
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h63328.shtml