What is an iframe?

An iframe or inline frame is a way of placing one html document inside another.  This can be used, for example, when the size of document to be placed inside the iframe would otherwise detract from the layout of the main webpage.  Placing the large document in an embedded iframe allows for it to be scrolled within a limited area of the webpage.

An iframe should not be confused with a frameset, which is typically used as a way of laying out a webpage such that is has certain fixed features, like a top or side navigation bar.

Here’s an example of what the code would look like for an iframe:

<iframe name=”I1″ id=”I1″ src=”http://internet-advertising101.com/”>Your browser does not support inline frames or is currently configured not to display inline frames. </iframe> (Note the error message for users with incompatible browsers.)

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Propeller
  • StumbleUpon
  • Technorati

Filed Under: Tech Talk

RSSComments (0)

Trackback URL

Comments are closed.