HTML and CSS Reference
Specifies the height of the inline frame in pixels or as a percentage of the window size.
Assigns a name to the inline frame to be referenced by targeted links.
sandbox="allow-forms | allow-pointer-lock | allow-popups | allow-same-ori-
gin | allow-scripts | allow-top-navigation"
Not in HTML 4.01 . Used to enable scripts, pop ups, plug-ins, and form submission in
seamless ( seamless="seamless" in XHTML)
Not in HTML 4.01 . Makes the browser treat the embedded document as though it were
part of the parent document for purposes of link targets, document structure, and CSS in-
Specifies the URL address of the HTML document to display initially in the inline frame.
srcdoc=" HTML content
HTML content "
Not in HTML 4.01 . Specifies actual HTML content to appear in the iframe .
Specifies the width of the inline frame in pixels or as a percentage of the window size.
Internet Explorer and Navigator use a default width of 300 pixels.
<h1>Inline (Floating) Frames</h1>
<iframe src="ads.html" width="300" height="200" ><iframe>