HTML <iframe> 標(biāo)簽的 marginheight 屬性
定義和用法
marginheight 屬性規(guī)定 iframe 的頂部和底部的空白邊距,以像素計。
實例
帶有 50 像素頂部和底部空白邊距的 iframe:
<iframe src ="/index.html" marginheight="50px">
<p>Your browser does not support iframes.</p>
</iframe>
語法
<iframe marginheight="value">
屬性值
| 值 | 描述 |
|---|---|
| pixels | 規(guī)定 iframe 的頂部和底部的空白邊距,以像素計。 |