Just for alot of people out there this is something that caused me HOURS of frustration, I think on one of my first sites I used Iframes and half the site never worked for this very reason. so first, my story.
I was making a site, I learned about iframes, and I thought it was neat, like a little object similar to <img>, so I used it almost the same. The code resulting was probably along the lines of
and then everything after the iframe DISSAPEARED! I wondered why, its an object just like IMG isnt it? Well apparently not. The correct code is
Why? I don't know. But I just thought someone might benifit from my mistake as I did.
I was making a site, I learned about iframes, and I thought it was neat, like a little object similar to <img>, so I used it almost the same. The code resulting was probably along the lines of
| Code: |
| <iframe src = "main.html" width = "400" height = "300"> |
and then everything after the iframe DISSAPEARED! I wondered why, its an object just like IMG isnt it? Well apparently not. The correct code is
| Code: |
| <iframe src = "main.html" width = "400" height = "300"></iframe> |
Why? I don't know. But I just thought someone might benifit from my mistake as I did.
