What is an iframe?

  • 1
  • Question
  • Updated 6 years ago
  • Answered
Can you shed some light on it? And yeah i would love to know the similarities and difference in HTML and iframe
Photo of Green Girl

Green Girl

  • 531 Posts
  • 12 Reply Likes
  • ummm.... dont know

Posted 10 years ago

  • 1
Photo of J.J      { 295 Flash Games }

J.J { 295 Flash Games }

  • 81 Posts
  • 2 Reply Likes
This is basically a HTML In a HTML.
You know those codes where you have to put something into a html file, than embed a part of the code.
Well, an iframe basically is a code in a code, so its more compact, and smaller in size.

People usually do this as a code may be to big.

HTML code = Long Code
Iframe= Shorter Code

If you are thinking of using one i don't recommend it, as it may harm your site in some codes, and forms
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Monica,

This is a good question. Basically an iFrame is an inline frame within HTML. For more info I would suggest reading up here - http://www.w3schools.com/html/html_fr...

For an example of an iFrame, have a look here - http://www.w3schools.com/html/tryit.a...
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
in easy to understand terms - its just a way of displaying content from another site on your site.
Thersa bit of tech answer here http://en.wikipedia.org/wiki/HTML_ele...
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Hi Monica,

I'm using 3 iframes on one of my sites:
http://www.helderberg.cc/

The scroller on the right, the "what's on the menu" and the horoscope.
To see how it works, select your star sign in the horoscope menu and see how it opens in that same block without leaving my home page.

For this effect, I created a second site to host all my ad's and the star signs.
It takes up 12 pages just to host the 12 star signs. They each pick up the relevant star sign feed from http://www.e-tarocchi.com/

The info is then displayed in an iframe on the home page without the user having to navigate backwards and forwards all the time. Neat but not all that easy to do with Yola.

I'm hopeing nobody is going to ask me how I did it because it will take me days to explain. Just wanted to show you a good example of how it works, what is possible to to with Yola's site builder and of course to brag a little.
Photo of Green Girl

Green Girl

  • 531 Posts
  • 12 Reply Likes
Hey Excellent Site Boomer! I just need to know a little thing, i hope it shouldn't be too lengthy for you to explain!
I just wanna know the code for the boxes, you have placed around the content :)
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Hey that's easy, Monica.

For the heading:
<!--

<div style="width:220px;font-family: verdana;font-weight:
bold;text-transform: capitalize;text-align:
left;padding:10px;background-color:#ECF3E1;border:solid 1px #B3C58F;">

YOUR HEADING HERE

</div>

-->

For the content::
<!--

<div style="margin:0px;width:220px;height:132px;border:solid 1px #B3C58F;background:#FFFFFF;padding:10px;">

<font size="1" face="Verdana" color="#6A95E7">Blah, blah, blah....</font>

</div>
-->
Photo of Green Girl

Green Girl

  • 531 Posts
  • 12 Reply Likes
Thanks alot boomer...!
In India.. we have a company called Boomer leading manufacturer in bubble gums.. Its Ad jingle is... Boom Boom Boomer.. hamara pyaara boomer...
it means.. Boom boom boomer (sound effect) our beloved Boomer...
I wish i could sing this jingle to you at this time :-P
Photo of HussainGardezi

HussainGardezi

  • 217 Posts
  • 0 Reply Likes
Hey, thanks Boomer for this :)

Hello Monica, "Ap Ka Payara Boomer"
Photo of Zia Khan

Zia Khan

  • 1 Post
  • 0 Reply Likes
Hi Iframe is iline Frame, Its Basically put code in a code. you can not use Iframe for Google adsense, Check our site : http://everydayclassifieds.com
Photo of Big G

Big G

  • 65 Posts
  • 1 Reply Like
Boomer. Great site. Given me a few ideas. ;>D