title: Parsing a website's HTML tags in <iframe>
body: <p>Is it possible to parse tags in a html webpage which is shown in an iframe? I have tried to compile the code as follows, but it doesn't work. </p>
  
  <pre><code>       &lt;!DOCTYPE html&gt;
         &lt;html&gt;
         &lt;body&gt;
  
         &lt;iframe id="Frame" src="Url"&gt;&lt;/iframe&gt;
  
         &lt;button onclick="myFunction()"&gt;Parse it&lt;/button&gt;
  
        &lt;p id="demo"&gt;&lt;/p&gt;
  
        &lt;script&gt;
        function myFunction() {
        var x = document.getElementById("Frame").src.getElementByTagName("title");
       document.getElementById("demo").innerHTML = x;
       }
       &lt;/script&gt;
  
       &lt;/body&gt;
       &lt;/html&gt;
  </code></pre>