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 browsers. 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 wasn’t implemented steadily across browsers in previous versions of HTML, and it has been obsolete since then. When you put the element into <head>, the browser would understand it as an action to provide a search function for a document. But today each document is searchable since browsers have a Find feature.


The <isindex> tag is empty, which means that the closing tag isn’t required. But in XHTML, the (<isindex>) tag must be closed (<isindex/>).

Example of the HTML <isindex> tag:

<!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 Specifies URL programs, which perform the search.

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

Browser support

chrome edge firefox safari opera

Practice Your Knowledge

What is true about the HTML <isindex> tag based on the information presented at

Quiz Time: Test Your Skills!

Ready to challenge what you've learned? Dive into our interactive quizzes for a deeper understanding and a fun way to reinforce your knowledge.

Do you find this helpful?