Easy Tutorial
❮ Att Command Checked Tag Summary ❯

HTML <iframe> marginwidth Attribute

HTML <iframe> Tag

Example

An <iframe> with 50 pixels of margin on the left and right:


Browser Support

All major browsers support the marginwidth attribute.


Definition and Usage

The marginwidth attribute specifies the white space on the left and right sides of the content in an <iframe>, measured in pixels.


Syntax

Attribute Values

Value Description
pixels Specifies the white space on the left and right sides of the content in an <iframe>, measured in pixels.
❮ Att Command Checked Tag Summary ❯