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

  • 0
  • 1
  • Article
  • Updated 2 months ago
  • (Edited)
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></iframe>&nbsp;

iframe with a specified height and width: 
<iframe width="200" height="200"></iframe>&nbsp;

iframe with border: 
<iframe width="200" height="200"> <br></iframe>&nbsp;
Just change/increase the frame border number from zero to increase the width of the border. 


iframes 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.
Photo of Homestead FAQ

Homestead FAQ, Employee

  • 42,626 Points 20k badge 2x thumb

Posted 2 months ago

  • 0
  • 1

Be the first to post a reply!