HTML frame marginheight Attribute

Definition and Usage

The marginheight attribute specifies the top margin between the content and the top and bottom of the frame.


<frame marginheight="pixels" />

Syntax Example

<frame marginheight="50" />

Attribute Values

Value Description
pixels Specifies the top and bottom margin of the frame in pixels.Note: You cannot set a different value for top and bottom margin with this attribute.

Browser Support

The attribute is supported in all major browsers.


<frameset cols="50%,50%">
<frame src="frame_a.htm" marginheight="50" />
<frame src="frame_b.htm" marginheight="100" />
HTML frame marginheight Attribute Reviewed by 1000sourcecodes on 03:28 Rating: 5
Powered by Blogger.