<script type="text/template" id="iframeContent">
<html>
<!DOCTYPE html>
<head></head>
<body>
<p>
<a href="https://techblog.gmo-ap.jp/" target="_blank">
<img src="https://drive.google.com/uc?export=view&id=1_KLbZ75xNm0zPJpM5yFgOxtgpLm8esE0" width="100%" height="100%" alt=""/>
</a>
</p>
</body>
</html>
</script>
<iframe id="frm" height="50" width="320" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowTransparency="true">
</iframe>
var iframe = document.getElementById( 'frm' );
var content = document.getElementById("iframeContent").innerHTML;
var frameDoc = iframe.document;
if (iframe.contentWindow)
frameDoc = iframe.contentWindow.document;
frameDoc.open();
frameDoc.writeln(content);
frameDoc.close();
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.