Browse - Programming Tips - iframe requires that the content come from a src=

Date: 2009aug13
Language: html

Q.  <iframe> requires that the content come from a src=
How can I provide the content inline?

A.  Replace:

<iframe src=your_content.html width=200 height=100></iframe>
With:
<div style="width:200; height:100px; overflow:scroll">your content</div>