Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 492729 of <isindex>

  • Revision slug: Web/HTML/Element/isindex
  • Revision title: <isindex>
  • Revision id: 492729
  • Created:
  • Creator: kscarfone
  • Is current revision? No
  • Comment Changed {{HTML:Element-Navigation}} to {{HTMLRef}}

Revision Content

{{Deprecated_header}}

Summary

<isindex> is an HTML element which is used for putting a text field in the document for querying document. <isindex> is intented to use inside of {{HTMLElement("head")}} element by W3C, however browsers provide support wherever it is used in the document.

This element deprecated in HTML 4.01. Because, it is not a good idea to use <isindex> for any purpose. Same effect can be created with a HTML form in a modern way.

Attributes

Like all other HTML elements, this element supports the global attributes.

{{htmlattrdef("prompt")}}
This attribute adds its value as a prompt for text field.
{{htmlattrdef("action")}}
This attribute can be used in the case of needing to send query to a different URL. Action is not defined by W3C.

Example

<head>
  <isindex prompt="Search Document... " />
</head>

See also

  • {{HTMLElement("input")}}

{{HTMLRef}}

Revision Source

<div>
 {{Deprecated_header}}</div>
<h2 id="Summary" name="Summary">Summary</h2>
<p><code>&lt;isindex&gt;</code> is an HTML element which is used for putting a text field in the document for querying document. <code>&lt;isindex&gt;</code> is intented to use inside of {{HTMLElement("head")}} element by W3C, however browsers provide support wherever it is used in the document.</p>
<p>This element deprecated in HTML 4.01. Because, it is not a good idea to use <code>&lt;isindex&gt;</code> for any purpose. Same effect can be created with a HTML form in a modern way.</p>
<h2 id="Attributes" name="Attributes">Attributes</h2>
<p>Like all other HTML elements, this element supports the <a href="/en-US/docs/HTML/Global_attributes" title="HTML/Global attributes">global attributes</a>.</p>
<dl>
 <dt>
  {{htmlattrdef("prompt")}}</dt>
 <dd>
  This attribute adds its value as a prompt for text field.</dd>
 <dt>
  {{htmlattrdef("action")}}</dt>
 <dd>
  This attribute can be used in the case of needing to send query to a different URL. Action is not defined by W3C.</dd>
</dl>
<h2 id="Example">Example</h2>
<pre class="brush: html">
&lt;head&gt;
  &lt;isindex prompt="Search Document... " /&gt;
&lt;/head&gt;</pre>
<h2 id="See_also" name="See_also">See also</h2>
<ul>
 <li>{{HTMLElement("input")}}</li>
</ul>
<p>{{HTMLRef}}</p>
Revert to this revision