I have a svery simple requirement. I have a <div> tag within which I am displaying some text content.

I want to display the same text content in an <iframe>. What I am trying to achieve I have written below. Can anyone please help?

<b>
<div>This is a content which I want to display in iframe</div>
<iframe id="iframe" src=""></iframe></b>
Edit
Report