我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。
Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
The HTMLIsIndexElement
interface provides special properties (beyond the regular HTMLElement
interface it also has available to it by inheritance) for manipulating <isindex>
elements.
The <isindex>
element has been deprecated in HTML4 and removed in HTML5. This latest specification requires that this element implements HTMLUnknownElement
rather than HTMLIsIndexElement
.
Properties
Inherits properties from its parent, HTMLElement
.
HTMLIsIndexElement.form
Read only- Is a
HTMLFormElement
representing the<form>
element it belongs too. It can have thenull
value, if<isindex>
isn't part of any form. HTMLIsIndexElement.prompt
- Is a
DOMString
representing a text to be prompted for the field.
Methods
No specific method; inherits methods from its parent, HTMLElement
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'HTMLIsIndexElement' in that specification. |
Living Standard | No change from HTML5. |
HTML5 The definition of 'HTMLIsIndexElement' in that specification. |
Recommendation | Removed. <isindex> must now implement HTMLUnknownElement . |
Document Object Model (DOM) Level 2 HTML Specification The definition of 'HTMLIsIndexElement' in that specification. |
Obsolete | No change from Document Object Model (DOM) Level 1 Specification |
Document Object Model (DOM) Level 1 Specification The definition of 'HTMLIsIndexElement' in that specification. |
Obsolete | Initial definition. |
Browser compatibility
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic support | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Edge Mobile No support No | Firefox Android No support No | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
form | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Edge Mobile No support No | Firefox Android No support No | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
prompt | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Edge Mobile No support No | Firefox Android No support No | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
Legend
- No support
- No support
- Non-standard. Expect poor cross-browser support.
- Non-standard. Expect poor cross-browser support.
- Deprecated. Not for use in new websites.
- Deprecated. Not for use in new websites.
See also
- The HTML element
<isindex>
was implementing this interface.