Tryit Editor v3.7

PHOTO EMBED

Tue Jul 12 2022 17:05:37 GMT+0000 (UTC)

Saved by @Shookthadev999 #undefined

<!DOCTYPE html>
<html>
<body>
​
<h2>Iframe - Target for a Link</h2>
​
<iframe src="demo_iframe.htm" name="iframe_a" height="300px" width="100%" title="Iframe Example"></iframe>
​
<p><a href="https://www.w3schools.com" target="iframe_a">W3Schools.com</a></p>
​
<p>When the target attribute of a link matches the name of an iframe, the link will open in the iframe.</p>
​
</body>
</html>
​
​
content_copyCOPY

https://www.w3schools.com/html/tryit.asp?filename