title: Can HTML iframes inherit css and javascript data
body: <p>I was wondering if HTML iframes could inherit CSS data from their parent:</p>
  
  <p>Main.html</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
     &lt;style&gt;
       .highlight{
         background: #008fcc;
        }
     &lt;/style&gt;
    &lt;/head&gt;
   &lt;body&gt;
     &lt;iframe src='frame.html'&gt;&lt;/iframe&gt;
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>frame.html</p>
  
  <pre><code>hello &lt;font class='highlight'&gt;
  </code></pre>