Lab Lec9
Lab Lec9
Frames
The HTML <iframe> tag specifies an inline
frame.
An inline frame is used to embed another
by default
<html>
<body>
<h2>HTML frames</h2>
<p>You can use the height and width attributes to
specify the size of the iframe:</p>
</body>
</html
By default, an iframe has a border around it.
To remove the border, add the style attribute
</body>
</html>
An iframe can be used as the target frame for
a link.
The target attribute of the link must refer to
<p><a href="https://www.detail.com"
target="iframe_a">detail.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>
Thank You