The name attribute of the IFAME element defines a unique name for the iframe.
<iframe src="example.html" name="test"></iframe>
Attribute |
Value |
Explanation |
name=" " |
frame name |
arbitrary name |
- Frame name
-
- Frame names must start in the alphabet.
name="a001"
- The following symbols can be included in a frame name.
hyphen(-), underscore(_), colon(:), period(.)
name="frame_name"
The frame name is used for the target attribute of the A element and the target attribute of the FORM element.
Example