<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
#iframe1{
display:block;
height:400px;
width:400px;
margin:0 auto;
}
</style>
</head>
<body>
<iframe id="iframe1" src="/test/test-file-target-blank">
<p>Your browser does not support iframes.</p>
</iframe>
<p><strong>Note:</strong> anchor tag (Learn Javascript) inside iframe is set to <strong>target="_blank"</strong>, Note that linked document open in a new tab or window irrespective of its parent iframe.</p> </body>
</html>