Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML frame marginheight Attribute

The HTML marginheight attribute

HTML frame Tag Reference HTML Tag

Example

The top and bottom margins of the first frame are 50 pixels, and those of the second frame are 0 pixels:

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the marginheight attribute.


Definition and Usage

HTML5 does not support the tag.

The marginheight attribute specifies the height between the frame's content and the top and bottom of the frame, in pixels.


Syntax

HTML tag