HTML <isindex> Tag

The <isindex> tag is used to display search strings in the current document. The tag is placed inside the <head> element.

The <isindex> is a deprecated HTML tag and not supported correctly by the browsers. In order to define a single line input field, you need to use the <input> tag with the <label> tag, which executes the same function as the prompt attribute.


The <isindex> tag is an empty element, so the closing tag isn’t required.

In XHTML we must close the tag (</isindex>).


<!DOCTYPE html>
    <isindex prompt = "Search a text" />


Attribute Value Description
prompt hint-text Specifies the text string that is displayed in front of the search query input field. If this attribute is not specified, the default browser will display its own text.
action URL URL programs, which perform the search.

The <isindex> tag supports the Global Attributes and the Event Attributes.

Browser support

Do you find this helpful?

Related articles