The width attribute specifies the width of the iframe.
<iframe width="length">
<iframe width="50%">
The attribute is supported in all major browsers.
<iframe src="demo_iframe.htm" width="50%"></iframe>
iframe width attribute example Specify the width of the iframe.