HTML Tag Example Mark up an inline frame: Try it » Browser support All major browsers support tag. Tag Definition and Usage the tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Tips and Notes **Tip:** You can place the desired text in and between them, so that browsers that do not support The browser. **Tip:** Use CSS to (including scrollbars) defines styles. Differences Between HTML 4.01 and HTML5 HTML5 adds some new attributes and removes some attributes from HTML 4.01. Differences Between HTML and XHTML In XHTML, the name attribute is deprecated and will be removed. Please use the id attribute instead. Attribute New: New attribute in HTML5. AttributeValueDescription alignleft right top middle bottom | HTML5 does not support. HTML 4.01 is deprecated. Specifies how to align the <iframe> relative to surrounding elements. | | frameborder | 1 0 | HTML5 not supported. Specifies whether to display around it. | | height | pixels | Specifies the height of. | | longdesc | URL | HTML5 not supported. Specifies a page that contains information about a longer description of. | | marginheight | pixels | HTML5 not supported. Specifies the top and bottom margins of. | | marginwidth | pixels | HTML5 not supported. Specifies the left and right margins of. | | name | name | Specifies of. | | sandboxNew | "" allow-forms allow-same-origin allow-scripts allow-top-navigation | to to define a set of additional restrictions. | | scrolling | yes no auto | HTML5 not supported. Specifies whether to to display scrollbars in. | | seamlessNew | seamless | Specifies to look like part of the parent document. | | src | URL | Specifies in of the document displayed in. | | srcdocNew | HTML_code | Specifies that the HTML content in the page is displayed in in. | | width | pixels | Specifies The width. | Global Attributes the tag supports [HTML global attributes](/tags/ref-standardattributes.html). Event Attributes the tag supports [HTML event attributes](/tags/ref-eventattributes.html). Related articles HTML Tutorial:HTML Frames HTML DOM Reference:IFrame Object