Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
form tag
input tag
TAG: isindex
deprecated 4.0
<index>
Available in versions: 2.0, 3.2
Browser compatibility: Explorer 4, 5 Netscape 4
The
<isindex>
tag is officially deprecated effective with HTML 4.0. Instead, you are now to use the
form
and
input
tags to create search forms. However, this tag remains in minor use on the Internet and is still recognized by all major browsers.
The
isindex
tag is used to create a search element with a prompt text and a one line input window that displays on the Web page. The exact appearance of the search element is browser dependent. For example, the default prompt text for IE 5.0 is:
You can search this index. Type the keyword(s) you want to search for:
The concept is that the user enters a space-separated list of one or more keywords into the search window and then hits the enter key. A search query URL is created that is composed of a URL, followed by a question mark, and then the list of keywords (each keyword is preceded by a plus sign). The default URL is the document URL. However, you can use the
base
tag to point to a search page. Whatever URL is designated must be able to handle a search query.
This tag can be placed in either the
head
or
body
element. However, you cannot place it inside a
form
element.
There is no closing tag.
Core Attributes
class
dir
id
lang
style
title
Attributes
prompt
deprecated 4.0
The
prompt
attribute is used to write the text that you wish to appear for the search prompt. Each browser has a default text. This attribute is deprecated effective with version 4.0. However, most browsers continue to recognize this attribute.
Code:
<isindex>
Output:
Click here to see example in separate window
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information