This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-03 08:22:25

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

iFrame for HTML?

I know how to make an iFrame, but how do I put html into the iFrame? I tried this but it doesn't work:

Code:

<iFrame><html code></iFrame>

http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-09-03 08:54:02

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: iFrame for HTML?

<iframe src="htmlpage">stuff to say if iframes arent supported</iframe>

Offline

 

#3 2011-09-03 15:00:39

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: iFrame for HTML?

<iFrame src="site" width= "##%" height= "##%">....not supported?</iframe>


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#4 2011-09-03 16:26:52

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: iFrame for HTML?

okay let me explain

<iframe src="xyz.html' >
Your browser is old
</iframe>

in the above code <iframe tells he browser that here is an i frame to be used
src attribute tells it to open a page at a location in that iframe (the source CODE should be on that page)>

YOUR BROWSER IS OLD (tells the browser to paste this if iframe is not recognizzed)

</iframe> tells the browsr to close the iframe tag.

I hope its clear ?

Any doubt ??


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

Board footer