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