Easy Tutorial
❮ Tag Caption Canvas Closepath ❯

HTML <frame> marginheight Attribute

HTML <frame> Tag

Example

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


Browser Support

All major browsers support the marginheight attribute.


Definition and Usage

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


Syntax

Attribute Values

Value Description
pixels Specifies the top and bottom margins of the frame.
❮ Tag Caption Canvas Closepath ❯