HTML ISINDEX <isindex> Tag
0 2876
HTML ISINDEX <isindex> tag is used to provide a single-line text input in a page to query a document. If a user wants to send a query using the input to the server then the server returns the list of many pages matching with the query.
The <isindex> tag can be placed anywhere in the HTML document but it is recommended to integrate it within the head tag.
This tag is not supported by HTML5, so you can use form <input> which will do the same work.
Program:
<!DOCTYPE html>
<html>
<head>
<title>HTML isindex Tag</title>
<isindex prompt = "Search your document here"/>
</head>
<body>
<h2>Example of isindex tag</h2>
<p>
this is body
</p>
</body>
</html>
Output:
Share:
Comments
Waiting for your comments