HTML <isindex> tag (Not supported in HTML5)


HTML <isindex> tag is used to provide a single line text input in a page to query a document. If user sent input to the server then server returns the list of page matching with the query.

The <isindex> tag can be used anywhere in the document, but it would be preferable to use it within <head> tag.

Syntax

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

Following are some specifications about the HTML <isindex> tag

DisplayNone
Start tag/End tagOnly Start tag (End tag forbidden)
An element ofDocument Structure

Example

<!DOCTYPE html>  
<html>  
<head>  
<isindex prompt = "Search your document here" />  
</head>  
</html>  

Attribute

Tag-specific Attribute

AttributeValueDescription
prompthint-textIt adds value as a label for the search text field.
actionURLIt is used to send the query to different URL instead of current document.

Global Attribute

HTML <isindex> tag supports the Global Attributes.

Event attribute

HTML <isindex> tag supports the Event Attributes.


Leave a Reply

Your email address will not be published. Required fields are marked *