English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
本文介绍HTML iframe name属性指定
name用作链接目标的
Test to see ‹/›HTML:
IEFirefoxOperaChromeSafari
All major browsers support the name attribute.
The name attribute specifies the name of the <iframe>.
This name attribute can be used to reference elements in JavaScript, or as the value of the target attribute of an <a> or <form> element, or as the formtarget attribute value of an <input> or <button> element.
None.
In XHTML, it is not recommended to use the name attribute, which has been removed. Please use the id attribute instead.
<iframe name="name">
Value | Description |
---|---|
name | Specify the name of the <iframe>. |