<ISINDEX>NN all IE all HTML all  

<ISINDEX>

HTML End Tag: Forbidden  

The isindex element is a longtime holdover from the earliest days of HTML and is deprecated in HTML 4 in favor of the text input element. The isindex element tag belongs in the head element. In modern browsers, it is rendered as a simple text field between two hr elements. When a user types text into the field and presses the Enter/Return key, the content of the field is URL-encoded (with + symbols substituted for spaces) and sent to the server with the URL of the current document. A CGI program on the server must know how to process this URL and return HTML for display in the current window or frame.

 
Example
 
<HEAD>
<ISINDEX prompt="Enter a search string:">
</HEAD>
 
Object Model Reference
 
[window.]document.getElementById(elementID)
 
Element-Specific Attributes
 
prompt
 
Element-Specific Event Handler Attributes

None.

langNN 3 IE 4 HTML 4  

lang="languageCode"

Optional  

The language being used for the element's attribute values and content. A browser can use this information to assist in proper rendering of content with respect to details such as treatment of ligatures (when supported by a particular font or required by a written language), quotation marks, and hyphenation. Other applications and search engines might use this information to aid the selection of spell-checking dictionaries and the creation of indices.

 
Example
 
<SPAN lang="de">Deutsche Bundesbahn</SPAN>
 
Value

Case-insensitive language code.

 
Default

Browser default.

 
Object Model Reference
 
[window.]document.getElementById(elementID).lang
promptNN all IE all HTML 4  

prompt="message"

Optional  

This attribute lets you assign the prompt message that appears with the element.

 
Example
 
<ISINDEX prompt="Enter a search string:">
 
Value

Any quoted string.

 
Default

None.