{{Deprecated_header}}
Summary
<isindex>
is an obsolete HTML element that puts a text field in a page for querying the document. <isindex>
was intended to be used inside of the {{HTMLElement("head")}} element by the W3C, but browsers supported it no matter where it was used.
<isindex>
is deprecated as of HTML 4.01, because the same behaviour can be achieved with an HTML form.
Attributes
Like all other HTML elements, this element accepts 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")}}
- {{HTMLElement("form")}}
{{HTMLRef}}