+ 3

Href in code playground

i want to make a code but i want it to link to a other code that i maked how can i do that?

18th Jan 2017, 2:27 PM
Bart
Bart - avatar
4 Answers
+ 2
thank you
18th Jan 2017, 2:36 PM
Bart
Bart - avatar
+ 2
what do i have to put in the iframe tag?
18th Jan 2017, 2:39 PM
Bart
Bart - avatar
+ 1
<iframe> tag can help you. The <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. http://www.w3schools.com/tags/tag_iframe.asp
18th Jan 2017, 2:34 PM
Ahmad
Ahmad - avatar
+ 1
Let's imagine that you have two html documents. some.html and other.html Code of some.html : <!DOCTYPE html> <html> <head> <title>Some HTML</title> </head> <body> <p>This is frome some.html file</p> <iframe src="other.html"></iframe> </body> </html> and Code of other.html : <!DOCTYPE html> <html> <head> <title>Other HTML</title> </head> <body> <p>Hi!, I'm from other.html fille</p> </body> </html> Put both in one folder Open Some.html file with a browser.
18th Jan 2017, 2:43 PM
Ahmad
Ahmad - avatar