HTML <iframe> name Attribute
HTML <iframe> tag
Example
An iframe that act as a target for a link:
<iframe src="demo_iframe.htm" name="iframe_a">
<p>Your browser does not support iframes.</p>
</iframe>
<a href="http://www.w3schools.com" target="iframe_a">W3Schools.com</a> |
Try it yourself » |
Definition and Usage
The name attribute specifies the name of an iframe.
The name attribute of the iframe element is used to reference the element in a JavaScript, or to
act as a target for a link.
Browser Support

The name attribute is supported in all major browsers.
Syntax
Attribute Values
| Value |
Description |
| name |
The name of an iframe |
HTML <iframe> tag
Create a free Flash website with our simple, online web design editing platform. Stunning templates
and user-friendly tools make website building easy and fun.
Start Creating your free website now!

Whether you're new to XML or already an advanced user, the user-friendly views and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to meet your XML and Web development needs from start to finish.
New features in Version 2010!
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator, taxonomy editor, taxonomy wizard
- Support for Office Open XML (OOXML)
- Graphical WSDL 1.1/2.0 editor & SOAP debugger
- JSON editing & conversion
- Java, C#, C++ code generation
- 32-bit and 64-bit versions
- And much more!
Download a free trial today!
|
|
|
|