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

  • Revision slug: Web/HTML/Element/isindex
  • Revision title: <isindex>
  • Revision id: 999381
  • Created:
  • Creator: Tigt
  • Is current revision? No
  • Comment

Revision Content

{{Deprecated_header}}

Summary

<isindex> is an obsolete HTML element that puts a text field in a page for querying the document. <isindex> was intended to be used inside of the {{HTMLElement("head")}} element by the W3C, but browsers supported it no matter where it was used.

<isindex> is deprecated as of HTML 4.01, because the same behaviour can be achieved with an HTML form.

Attributes

Like all other HTML elements, this element accepts 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")}}
  • {{HTMLElement("form")}}

{{HTMLRef}}

Revision Source

<div>{{Deprecated_header}}</div>

<h2 id="Summary">Summary</h2>

<p><span class="seoSummary"><strong><code>&lt;isindex&gt;</code></strong> is an obsolete HTML element that puts a text field in a page for querying the document.</span> <code>&lt;isindex&gt;</code> was intended to be used inside of the {{HTMLElement("head")}} element by the W3C, but browsers supported it no matter where it was used.</p>

<p><code>&lt;isindex&gt;</code> is deprecated as of HTML 4.01, because the same behaviour can be achieved with an HTML form.</p>

<h2 id="Attributes">Attributes</h2>

<p>Like all other HTML elements, this element accepts the <a href="/en-US/docs/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">See also</h2>

<ul>
 <li>{{HTMLElement("input")}}</li>
 <li>{{HTMLElement("form")}}</li>
</ul>

<p>{{HTMLRef}}</p>
Revert to this revision