Easy Tutorial
❮ Prop Anchor Name Prop Element Offsettop ❯

Frame/IFrame marginWidth Attribute


Definition and Usage

The marginWidth property sets or returns the value of the marginWidth attribute of a frame/iframe element.

The marginwidth attribute specifies the page margin (in pixels) for the left and right edges of the frame.

Syntax


Browser Support

All major browsers support the marginWidth property.


Example

Example

Return the value of the marginwidth attribute:


❮ Prop Anchor Name Prop Element Offsettop ❯