{{Deprecated_header}}
Summary
<isindex>
is an HTML element which is used for putting a text field in a document for querying the document. <isindex>
is intended to be used inside of the {{HTMLElement("head")}} element by W3C, however browsers support it no matter where it is used in the document.
This element is deprecated in HTML 4.01, because the same behaviour can be achieved with an HTML form.
Attributes
Like all other HTML elements, this element supports the global attributes.
- {{htmlattrdef("prompt")}}
- This attribute adds its value as a prompt for text field.
- {{htmlattrdef("action")}}
- This attribute can be used to send the query to a different URL. Action is not defined by W3C.
Example
<head> <isindex prompt="Search Document... " /> </head>
See also
- {{HTMLElement("input")}}
{{HTMLRef}}