Name

isindex — HTML 4.01

Synopsis

HTML: <isindex>; XHTML: <isindex/> or <isindex />

Marks the document as searchable. The server on which the document is located must have a search engine that supports this searching. The browser displays a text entry field and a generic line that says, “This is a searchable index. Enter search keywords.” The isindex element is not part of the form system and does not need to be contained within a form element.

Notes

Deprecated in HTML 4.01/XHTML 1.0. Not in HTML5. This method is outdated; more sophisticated searches can be handled with form elements.

Start/End Tags

This is an empty element. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a trailing slash as just shown. Developers may include a space character before the slash for backward compatibility with older browsers.

Attributes

Core, Internationalization

prompt="text"

Provides alternate text (not the default) to be used as a query by the user.

Example

<isindex prompt="Enter your search term">

Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.