HTML and CSS Reference
In-Depth Information
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
action="URL to send query" (3)
contenteditable=" false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="on| off" (5.5)
Events Defined by Internet Explorer
onactivate, onbeforedeactivate, onbeforeeditfocus, onblur, oncontrolselect,
ondeactivate, onfocus, onmove, onmoveend, onmovestart, onreadystatechange,
onresize, onresizeend, onresizestart
Element-Specific Attributes
action This attribute specifies the URL of the query action to be executed when the viewer
presses the ENTER key. Although this attribute is not defined under any HTML specification,
it is common to many browsers, particularly Internet Explorer 3, which defined it.
prompt This attribute allows a custom query prompt to be defined. The default prompt is
“This is a searchable index. Enter search keywords.”
Examples
<isindex action="cgi-bin/search.pl" prompt="Enter search terms">
<!-- very old HTML style syntax below -->
<base href="cgi-bin/search">
<isindex prompt="Enter search terms">
<isindex href="cgi-bin/search" prompt="Keywords:">
Compatibility
HTML 2, 3.2, 4, 4.01 (transitional)
XHTML 1.0 (transitional)
Firefox 1+, Internet Explorer 4+,
Netscape 1.1+, Opera 4+, Safari 1+
Notes
• Originally, the W3C intended this element to be used in a document's header.
Browser vendors have relaxed this usage to allow the element in a document's body.
Early implementations did not support the action attribute and used a <base> tag
or an href attribute to specify a search function's URL.
• As an empty element, <isindex> requires no closing tag under HTML specifications.
However, under the XHTML specification, a trailing slash <isindex /> is required.
• The HTML 3.2 specification only allows the prompt attribute, whereas HTML 2
expected a text description to accompany the search field.
Search WWH ::




Custom Search