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

+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?

1/18/2017 2:27:56 PM

Bart

4 Answers

New Answer

+2

thank you

+2

what do i have to put in the iframe tag?

+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

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