How to make a code which creates a new HTML document and inserts it into an <iframe> in the current document. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a code which creates a new HTML document and inserts it into an <iframe> in the current document.

15th Jul 2018, 8:56 AM
B.D
B.D - avatar
2 Answers
+ 1
In HTML insert your inner html source inside iframe. If you mean with js, see https://www.w3schools.com/jsref/prop_frame_contentdocument.asp
15th Jul 2018, 9:01 AM
KrOW
KrOW - avatar
+ 1
https://code.sololearn.com/WD0R9doZ6hwz/?ref=app
15th Jul 2018, 9:52 AM
Calviղ
Calviղ - avatar