title: Can I have doctype in iframe different from hosting page
body: <p>Can I have doctype in iframe different from hosting page or iframe necessarily inherits doctype from hosting page?</p>
  
  <pre><code>&lt;!DOCTYPE 1&gt;
  &lt;html&gt;
     &lt;body&gt;
        &lt;iframe&gt;
        &lt;!DOCTYPE 2&gt;
        &lt;/iframe&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>