HTML iframe width Attribute

Definition and Usage

The width attribute specifies the width of the iframe.


<iframe width="length">

Syntax Example

<iframe width="50%">

Attribute Values

Value Description
pixels Width in pixels (like "100px", or just "100").
percent Width in percent of the containing element (like "20%").

Browser Support

The attribute is supported in all major browsers.
HTML iframe width Attribute Reviewed by 1000sourcecodes on 04:38 Rating: 5
Powered by Blogger.