HTML frame marginwidth property
Examples
The first frame of the left and right margins of 50 pixels, the second from the left frame and right margins are 0 pixels:
<frameset cols="50%,50%">
<frame src="frame_a.htm" marginwidth="50">
<frame src="frame_b.htm" marginwidth="0">
</frameset>
<frame src="frame_a.htm" marginwidth="50">
<frame src="frame_b.htm" marginwidth="0">
</frameset>
try it"
Browser Support
All major browsers support marginwidth property.
Definition and Usage
HTML5 does not support the <frame> tag.
The height of the left and right frame and the frame content between the attribute specifies marginwidth, in pixels.
grammar
<frame marginwidth="pixels">
Property Value
值 | 描述 |
---|---|
pixels | 规定框架的左边距和右边距。 |
HTML <frame> tag