<html>
<body>
<h1>The iframe name attribute</h1>
<iframe src="demo_iframe.htm" name="iframe_a">
<p>Your browser does not support iframes.</p>
</iframe>
<a href="https://www.w3schools.com" target="iframe_a">W3Schools.com</a>
<p><b>Note:</b> Because the target of the link matches the name of the iframe, the link will open in the iframe.</p>
</body>
</html>