HTML » Tags » isindex

Version: 2.0, 3.2

Compability: Explorer 4, 5  Netscape 4

Syntax:
<index>

The <isindex>  elements are  deprecated  in HTML 4.01.

The isindex tag is used to create a search element with a prompt text and a one line input window that displays on the Web page. The exact appearance of the search element is browser dependent. The <isindex> tag is officially deprecated effective with HTML 4.0. Instead, you are now to use the form and input tags to create search forms. However, this tag remains in minor use on the Internet and is still recognized by all major browsers.

For example, the default prompt text for IE 5.0 is:
 
You can search this index. Type the keyword(s) you want to search for:
 
The concept is that the user enters a space-separated list of one or more keywords into the search window and then hits the enter key. A search query URL is created that is composed of a URL, followed by a question mark, and then the list of keywords (each keyword is preceded by a plus sign). The default URL is the document URL. However, you can use the base tag to point to a search page. Whatever URL is designated must be able to handle a search query.
 
This tag can be placed in either the head or body element. However, you cannot place it inside a form element.
 
There is no closing tag.
 

Examples

Code:
<isindex>
Output:


Explanation:

If this tag is supported by your browser you should see an input field above.

Language(s): HTML

See Also: