HTMLIFrameElement:The iframe Element
The iframe element is represented by the HTMLIFrameElement object. It implements the properties described in the following table.
Name | Description | Returns |
---|---|---|
src | the src attribute | string |
srcdoc | the srcdoc attribute | string |
name | the name attribute | string |
sandbox | the sandox attribute | string |
seamless | the seamless attribute | string |
width | the width attribute | string |
height | the height attribute | string |
contentDocument | Returns the document object | Document |
contentWindow | Returns the window object | Window |