HTML <iframe> name Attribute
Example
<iframe src="demo.html" name="iframe_demo">
Your browser does not support iframe element.
</iframe>
<a href="demo2.html" target="iframe_demo">Demo 2 HTML page.</a>
Meaning
The name attribute assigns a name to the floating frame so that it can be the target destination of hyperlinks.
Standard Syntax
<iframe name="name">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| name | Specifies the name of the <iframe> |