English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The 'name' attribute specifies the name of the <frame> element. The 'name' attribute is used to reference elements in JavaScript or as the target of links. HTML5 The <frame> tag is not supported.
Name the frame as frame_name:
<frameset cols="50%,50%"> <frame src="frame_a.htm" name="frame_name"> <frame src="frame_b.htm"> </frameset>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the name attribute.
HTML5 The <frame> tag is not supported.
The name attribute specifies the name of the <frame> element.
The name attribute is used to reference elements in JavaScript or as the target of links.
In XHTML, it is not recommended to use the name attribute of the <frame> tag and it should be removed. Use the id attribute instead.
<frame name="text">
Value | Description |
---|---|
text | Specifies the name of the frame. |