srcdoc

The srcdoc property of the HTMLIFrameElement interface gets or sets the inline HTML markup of the frame's document.

MDN Reference