name attribute (frame, iframe)
Sets the initial name of the contained window.
The name of a window can be used to identify the window. If the target attribute of an anchor is set to the name of a window, then clicking on the anchor opens the referred page in the window.
String that sets the initial name of the contained window.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the name attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments