<iframe id="myframe" src="//" frameborder="0"> <p>Your browser does not support iframes.</p> </iframe> <p>The frameborder is set to: <script> document.write(document.getElementById("myframe").frameBorder); </script> </p><p> </p>