HTML and CSS Reference
In-Depth Information
height=" number
number "
Specifies the height of the inline frame in pixels or as a percentage of the window size.
name=" text
text "
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
embedded documents.
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-
heritance.
src=" URL
URL "
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 .
width=" number
number "
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.
Example
<h1>Inline (Floating) Frames</h1>
<iframe src="ads.html" width="300" height="200" ><iframe>
Search WWH ::




Custom Search