mike_f's profile

782 Messages

 • 

184.8K Points

Monday, April 14th, 2014 3:34 PM

Closed

What is an Iframe, and how do I add one to my site?

An Iframe is simply another html document (web page), that is embedded into another web page.

This can be useful for many things, such as adding a 3rd party blog to your site, when you want to keep the same look and feel as the rest of your site. Or if you have some text or other content that is too large to fit in the page and want it to appear in a scrolling window.

It is important to know that the use of Iframes does not help with SEO.  The search engines spiders will not crawl/index the information displayed in the frame.  If the text that you are including in the frame is critical then it's best to include it on a page that is linked to the rest of your site so that it can be indexed. 


Here are a few basic examples.

Basic Iframe code:
<iframe src="URL goes here"></iframe>

Iframe with a specified height and width:
<iframe src="URL goes here" width="200" height="200"></iframe>

Iframe with border:
<iframe src="URL goes here" width="200" height="200" frameborder="0">
</iframe>
Just change/increase the frame border number from zero to increase the width of the border.

I frames can be come more complex depending on the functionality and look that you desire. There are many free Iframe code generators on the internet. Here is one such example: http://7thspace.com/webmaster_tools/i...

If you are not familiar with adding the code to your web page, click here.

This conversation is no longer open for comments or replies and is no longer visible to community members.

No Responses!