HTML isindex Tag

HTML <isindex> element is utilized to create a one-line text input on a webpage for querying a document. When a user submits input to the server, the server responds with a list of pages that match the query.

The <isindex> element is versatile and can be inserted at any point in the content, although it is recommended to place it within the <head> element whenever possible.

Note: Do not use <isindex> tag as it is not supported by HTML5, instead of it you can use form <input> which will do the same work.

Syntax

Example

<isindex prompt = "Search your document here" />

Here are some details regarding the HTML <isindex> element:

Display None
Start tag/End tag Only Start tag (End tag forbidden)
An element of Document Structure

Example

Example

<!DOCTYPE html>

<html>

<head>

<isindex prompt = "Search your document here" />

</head>

</html>

Attribute

Tag-specific Attribute

Attribute Value Description
prompt hint-text It adds value as a label for the search text field.
action URL It is used to send the query to different URL instead of current document.

Global Attribute

HTML <isindex> element facilitates the utilization of Global Attributes.

Event attribute

HTML <isindex> tag enables the utilization of Event Attributes.

Supporting Browsers

Element Chrome IE Firefox Opera Safari
<isindex> No No No No No

Input Required

This code uses input(). Please provide values below: