What is HTML <isindex> tag ?
HTML <isindex> tag provides a single line search prompt for querying the contents of the document.
HTML <isindex> tag is used to display search strings in the current document.
HTML <isindex> tag can be used anywhere inside the document, but it would be preferable to use it within <head> tag.
HTML <isindex> tag remove in HTML5 specification.
How HTML <isindex> tag works ?
HTML <isindex> tag provides a single line text input in a page to query a document.
And if the user sents input to the server then server returns the list of page matching with the query.
HTML <isindex> tag element implementation is inconsistent, so its not supported correctly by browsers.
Why HTML <isindex> tag is used ?
HTML <isindex> element was used to create a single line search prompt for querying the contents of the document.
The same functionality can be achieved by using form <input> elements.
That is the reason HTML <isindex> was deprecated in HTML 4.01.
HTML beginners tutorial !!!
Click to Learn More about – HTML Tutorial for beginners
Syntax :
<isindex promt="search" />
Example :
<!Doctype html>
<html>
<head>
<title>HTML isindex Tag</title>
<isindex prompt="Search" />
<style>
h1 {
color: blue;
}
</style>
</head>
<body>
<h1>CStechbook</h1>
<h2>Abdul Kalaam</h2>
<p>
Abdul Kalam was an Indian aerospace scientist and politician who served as the 11th President of India from 2002 to 2007.<br/> He was born and raised in Rameswaram, Tamil Nadu and studied physics and aerospace engineering.
</p>
</body>
</html>
Output :

<isindex> Tag Attributes
HTML <isindex> tag support following specific attributes.
Sno | Attributes | Value | Description |
---|---|---|---|
1 | prompt | text | Specify a label for the textarea. |
2 | action | URL | Specify URL where send the query. |
Global Attributes
HTML <isindex> tag support following global attributes.
Sno | Attributes | Value | Description |
---|---|---|---|
1 | id | unique_name | Declared unique id for an element. |
2 | class | class_name | Declared one or more classnames for an element. |
3 | style | styles | CSS inline styles specify an element. |
4 | title | title | Specify extra details of element contain, this will display as a “tooltip” for an elements. |
Browser Compatibility
Sno | Browser | Support |
1 | Chrome | No |
2 | Firefox | No |
3 | Edge | No |
4 | Opera | No |
5 | Safari | No |
6 | Internet Explorer | No |