HTML <embed> height 属性
标签" href="tag-main.html"><main>
<map>
<mark>
<menu>
<meta>
<meter>
<nav>
<noframes>
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<html>
<picture>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike>
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<textarea>
< template>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt>
<u>
<ul>
<var>
<video>
<wbr>
HTML <embed> height 属性
实例
一个高度和宽度为 200 像素的 flash 动画:
<embed src="helloworld.swf" width="200" height="200">
浏览器支持
所有主流浏览器都支持 height 属性。
定义和用法
height 属性规定被嵌入内容的高度,以像素计。
HTML 4.01 与 HTML5之间的差异
<embed> 标签是 HTML5 中的新标签。
语法
<embed height="pixels">
属性值
| 值 | 描述 |
|---|---|
| pixels | 规定被嵌入内容的高度,以像素计(比如 height="100")。 |
HTML <embed> 标签