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

HTML frame marginwidth Attribute

The HTML marginwidth attribute

HTML frame Tag Reference HTML Tag

Example

The left and right 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 marginwidth attribute.


Definition and Usage

HTML5 does not support the tag.

The marginwidth attribute specifies the width between the frame's content and the left and right sides of the frame, in pixels.


Syntax

HTML tag