This is a guide to show you how to make your YouTube embeds fluid and responsive with a 100% width, as well as other iFrame-based embeds like slideshows. Use a value of about:blank to embed an empty page that conforms to the same-origin policy.Also note that programatically removing an The WIDTH and HEIGHT attributes specify the dimensions of the inline frame in pixels or as a percentage of the available space.

The IFRAME element defines an inline frame for the inclusion of external objects including other HTML documents.IFRAME provides similar functionality to OBJECT.One advantage of IFRAME is that it can act as a target for other links. The height and width are specified in pixels by default: The width attribute can be used on the following elements: Elements Attribute width width