HTML embed height 属性
最后更新于:2022-03-26 23:07:11
HTML <embed> height 属性
HTML <embed> 标签
实例
一个高度和宽度为 200 像素的 flash 动画:
<embed src=”helloworld.swf” width=”200″ height=”200″>
尝试一下 »
浏览器支持





所有主流浏览器都支持 height 属性。
定义和用法
height 属性规定被嵌入内容的高度,以像素计。
HTML 4.01 与 HTML5之间的差异
<embed> 标签是 HTML5 中的新标签。
语法
属性值
值 |
描述 |
pixels |
规定被嵌入内容的高度,以像素计(比如 height=”100″)。 |
HTML <embed> 标签