isindex HTML

HTML <isindex> Tag

The HTML <isindex> tag is not supported in HTML5. To query a document by providing a single-line text input in a page, the HTML <isindex> tag was used earlier. The list of the pages that matched with the query, was sent by the server in return. This tag was preferably placed within the <head> tag. The HTML form <input> tag is used nowadays to serve the same purpose.

Syntax:

<isindex prompt = text />

Example:

<!DOCTYPE html>  
<html>  
<head>  
<isindex prompt = "Hello World!!" />  
</head>  
</html>

Tag-specific Attributes:

Attribute Value Uses
prompt hint-text To add a value (as a label) to the search text field.
action URL To send the query to various URLs (and not the current document).

Global Attributes:

The HTML Global attributes are supported by the HTML <isindex> tag.

Event Attributes:

The HTML Event attributes are supported by the HTML <isindex> tag.

Supporting Browsers:

None