title: How to wrap an HTML in the iFrame?
body: <p>I am very new to iFrames.</p>
  
  <p>I have a simple HTML and I want to wrap it in iFrames.HTML is as below.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script&gt;
  function copyText()
  {
  alert('It is clicked');
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  Field1: &lt;input type="text" id="field1" value="Hello World!"&gt;&lt;br&gt;
  Field2: &lt;input type="text" id="field2"&gt;
  &lt;br&gt;&lt;br&gt;
  &lt;button onclick="copyText()"&gt;Copy Text&lt;/button&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Please help on how to wrap it using iFrames. </p>
  
  <p>Thanks
  Gendaful</p>