Home : Advice : HTML Tutorials : IFrame


In this tutorial I will show you how to create a iframe.

Example

Now here is the code:

<iframe name="iframe" width="300" height="100" src="iframe.htm" frameborder="1" scrolling="yes">Sorry your browser does not support frames.</iframe>

To creat a inner frame on your web page you need to use the iframe tag. The iframe can have several attributes. Its important to use at least these: width, height, src, frameborder, name, and scrolling. The src attribute is the URL to the page inside the frame.

Tip:

Use the name attribute to target links to the iframe.

Example

<a href="iframe2.htm" target="iframe">Target Inner Frame</a>

 


Copyright 2004 - 2005 FREEWEBHOSTINGADVICE.COM Contact | Privacy Policy & Legal