HTML5 Style of iframe
<p>I have an iframe, and I want to set the style inside attribute srcdoc using only CSS.</p>

<pre><code>&lt;iframe name="myFrame" srcdoc="&lt;span&gt;Hi&lt;/span&gt;"&gt; &lt;/iframe&gt;
</code></pre>

<p>Is it possible to set the style of span inside srcdoc without using inline style but only style sheet?</p>

<p>If not, I can only put the whole html coding inside srcdoc to change the style?</p>