HTML - Tags - <isindex>

#71 of 147
isindex
Next kbd
Prev ins

 <html>
 <body>
     <isindex action="cgi-bin/search" prompt="Search for:">
 
     <!-- This is equivalent to -->
     <form action="cgi-bin/search" method="get">
         <span>Search for:</span>
         <input type="text"/>
     </form>
 </body>
 </html>
 

The isindex element creates a simple search text box.

Deprecated

After you press enter, the search terms are sent to the server in the URL query string.
E.g.

http://zuga.net/articles/html-tags/cgi-bin/search?one+two+three

A live example:


Search for:

N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath