Href in code playground | Sololearn: Learn to code for FREE!


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?

1/18/2017 2:27:56 PM


4 Answers

New Answer


thank you


what do i have to put in the iframe tag?


<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.


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.