HTML 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.

Note: Do not use <isindex> tag as it is not supported by HTML5, instead of it you can use form <input> which will do the same work.

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.

    Supporting Browsers

    Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
    <isindex>NoNoNoNoNo

    Comments

    Leave a Reply

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