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 961197 of <isindex>

  • Revision slug: Web/HTML/Element/isindex
  • Revision title: <isindex>
  • Revision id: 961197
  • Created:
  • Creator: JonnyBurger
  • Is current revision? No
  • Comment Intented -> Intended

Revision Content

{{Deprecated_header}}

Summary

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

This element is deprecated in HTML 4.01, because the same behaviour can be achieved with an HTML form.

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 to send the 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 a document for querying the document. <code>&lt;isindex&gt;</code> is intended to be used inside of the {{HTMLElement("head")}} element by W3C, however browsers support it no matter where it is used in the document.</p>

<p>This element is deprecated in HTML 4.01, because the same behaviour can be achieved with an HTML form.</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 to send the 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