HTMLIsIndexElement

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的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 the null 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
WHATWG 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.
Recommendation No change from Document Object Model (DOM) Level 1 Specification
Document Object Model (DOM) Level 1 Specification
The definition of 'HTMLIsIndexElement' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

See also

  • The HTML element <isindex> was implementing this interface.

文档标签和贡献者