HTML frame marginwidth Attribute

Definition and Usage

The marginwidth attribute specifies the top margin between the content and the left and right side of the frame.


<frame marginwidth="pixels" />

Syntax Example

<frame marginwidth="50" />

Attribute Values

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

Browser Support

The attribute is supported in all major browsers.


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