Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

<IFRAME>

The IFRAME element allows you to embed a frame into the content of your web page. Instead of splitting the main browser window horizontally or vertically, this type of frame will appear just like an embedded TABLE would. You can position and align the frame however you like.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
NAME A name to assign to the frame which will be used when referencing this element in the Document Object Model (DOM) using client-side scripting (such as Javascript)
SRC URI which indicates the resource where content will be retrieved to fill the frame element
FRAMEBORDER Should a thin border be drawn around the outside of the frame? 0 means no and 1 means yes
MARGINWIDTH Width of the left and right margin in pixels
MARGINHEIGHT Height of the top and bottom margin in pixels
SCROLLING Indicates the type of scrolling which is allowed by the frame. Valid values for this attribute are: yes, no or auto
ALIGN Specifies the horizontal alignment of this frame with respect to it's containing element
WIDTH Overall width of the frame as the number of pixels or as a percentage of the total available width
HEIGHT Overall height of the frame as the number of pixels or as a percentage of the total available height
LONGDESC This is a URI to a resource containing a long description of the frame

Example

<IFRAME src="http://www.google.com/" width="400" height="500"
             scrolling="auto" frameborder="1">
  [Your user agent does not support frames or is currently configured
  not to display frames. However, you may visit
  <A href="http://www.google.com/">http://www.google.com</A>]
</IFRAME>

Renders As:

Compatibility

HTML 4.01

Return to HTML Tag Reference Overview

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Watching football is like watching pornography. There's plenty of action, and I can't take my eyes off it, but when it's over, I wonder why the hell I spent an afternoon doing it." - Luke Salisbury

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.