The scrolling text box that holds content from outside the webpage is called Iframe. Iframe can be linked to any website to show that page on your own webpage.
If you want to include files from anywhere on the web, onto any particular page you can use a new html tag that called IFrames. IFrames are not frames but works like regular frames, therefore making them more user and search engine friendly.
Iframes enable you to make quick changes to navigation links for those without SSI access. You use the Iframe for the text content and have one page for your side navigation, etc.
Note: Netscape Navigator 4.xx or lower dose not support IFrames.
Just copy and paste the code below into your webpage where you want to show an iframe.
Code:
<iframe src="http://www.yourdomain.com"
width="500" height="400" marginwidth="0" marginheight="0"
hspace="0" vspace="0" frameborder="0" scrolling=yes>
</iframe>
You should edit this code according to your requirements. Now look at a quick rundown on all editable sections of Iframe.
You must replace "http://www.yourdomain.com" to the website address you want to show on your page.
You will need to set the width and height according to your requirements. The
width and
height is to set your Iframe size. You can change the value where it is 500 and 400 to suit your needs.
You can set the amount of white space around your Iframe by changing the
hspace and
vspace values. In above code I leave these as "0".
You can also change
frameborder value 0 to 1 or 2 to make a border around Iframe.
To make a scrollbar on your Iframe, change
scrolling value to either yes or no.
Use Iframes on your webpage and have fun!
Usefull Tip: You can save space on your web page by using iframes to show content from other websites. Iframes are very easy to setup and act like a mini web page within a web page.