{{Deprecated_header}}
Summary
<isindex>
is an HTML element which is used for putting a text field in the document for querying document. <isindex>
is intented to use inside of {{HTMLElement("head")}} element by W3C, however browsers provide support wherever it is used in the document.
This element deprecated in HTML 4.01. Because, it is not a good idea to use <isindex>
for any purpose. Same effect can be created with a HTML form in a modern way.
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 in the case of needing to send query to a different URL. Action is not defined by W3C.
Example
<head> <isindex prompt="Search Document... " /> </head>
See also
- {{HTMLElement("input")}}
{{HTMLRef}}