isindex (HTML element)
Example
This example shows an index prompt
contained in the head element:
<head> ⋮ <isindex prompt="Search document ..." href="search-index.txt"/> ⋮ </head>
- Type
- inline elements
- Contains
- nothing—empty element
- Contained by
applet,blockquote,body,center,dd,del,div,fieldset,form,head,iframe,ins,li,map,noframes,noscript,object,td,th
Description
The isindex
element is a deprecated and poorly supported method for providing a
searchable index related to the current document. There’s not much to say
about this element, given the current lack of support for
it.
Originally, it was intended (by the W3C) that the
isindex element should be placed inside the head of the document, but
browsers were somewhat lax and allowed it to be used anywhere in the
document.
There are three attributes for this element:
action, which identifies the URL of the script that will process the searchhref, an older implementation that was used beforeactionwas supported by browsersprompt, to provide prompt text that appears next to search input
Use This for…
There are better mechanisms,
with better browser support, than the isindex element.
This entry is included for the sake of completeness, in case you should
ever come across the element and require information about
it.
Compatibility
| IE | 5.5 | Partial |
|---|---|---|
| 6.0 | Partial | |
| 7.0 | Partial | |
| Firefox | 1.0 | Partial |
| 1.5 | Partial | |
| 2.0 | Partial | |
| Safari | 1.3 | Partial |
| 2.0 | Partial | |
| 3.0 | Partial | |
| Opera | 9.2 | None |
| 9.5 | None |
This attribute is poorly supported and has limited practical value.
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

