[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-IFRAME

IFrame

Usage

Used to specify an "inline" frame within an HTML document. Normal frames are located in a fixed web browser position, but "inline" frames are located in a fixed HTML document position. "inline" frames scroll with the web documents like other block or text-level elements.

Attributes

src=""


Specifies the URL of the web document to be placed as the "inline" document.

width="#"


Specifies the width in pixel values of the "inline" frame. May be omitted for automatic browser dimensioning.

height="#"


Specifies the height in pixel values of the "inline" frame. May be omitted for automatic browser dimensioning.

align="left | center | right | top | middle | bottom"


Specifies the alignment of the "inline" frame with respect to surrounding elements.

name=""


Declares a name for the "inline" frame to used as a normal frame "target" value.

		
frameborder=""


Specifies whether a border will be applied to the "inline" frame. (1=border, 0=no border, default=1)

marginwidth="#"


Specifies in pixels the size of the left and right "inline" frame margins.

		
marginheight="#"


Specifies in pixels the size of the top and bottom "inline" frame margins.

		
scrolling=""


Specifies whether scroll bars will be displayed if needed; "yes" represents use scroll bars, "no" represents no scroll bars.

Live Example

<html>
<head><title></title></head>
<body>
<p>Introduction</p>
<br>
<p>Company Support</p>
<iframe src="support.htm" scrolling="no" name="support"></iframe>
</body>
</html> 


HTML Tags Center

last edited (April 12, 2004) by leeos, Number of views: 1727, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.