HTML iframe marginwidth property
Examples
With 50 pixels left and right blank margins <iframe>:
<iframe src="demo_iframe.htm" marginwidth="50">
</iframe>
</iframe>
try it"
Browser Support
All major browsers support marginwidth property.
Definition and Usage
HTML5 does not support the <iframe> marginwidth property. Use CSS instead.
marginwidth attribute specifies the <iframe> Blank margins left and right content, in pixels.
grammar
<iframe marginwidth="pixels">
Property Value
值 | 描述 |
---|---|
pixels | 规定 <iframe> 内容的左侧和右侧的空白边距,以像素计。 |
HTML <iframe> tag