手机
当前位置:查字典教程网 >网页设计 >脚本HTML教程 >HTML元素:isindex
HTML元素:isindex
摘要:定义使浏览器显示一个对话框,提示用户输入单行文本。Causesthebrowsertodisplayadialogwindowthatpro...

 定义

使浏览器显示一个对话框,提示用户输入单行文本。

Causes the browser to display a dialog window that prompts the user for a single line of input.

注释

在 HTML 4 中,此元素是不推荐使用的,推荐使用 INPUT 元素来取代它。isIndex 的 tagName 属性将返回 input。

ISINDEX 元素属于文档的 body 中。

此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。

此元素被看作 form 对象中的一个 input 对象。要使用脚本访问该元素,你必须使用 document 对象的 all 集合。例如,要访问一个 isIndex 对象的 disabled 属性的语法为:

document.all.oIsindex.disabled=false;

此元素是一个块元素。

此元素需要关闭标签。

In HTML 4, this element is deprecated; INPUT is recommended for use instead. The tagName property for isIndex returns input.

The ISINDEX element belongs in the body of the document.

This element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

This element is treated as an input object inside a form object. To access the element from script, you must use the all collection of the document object. For example, the syntax for accessing the disabled property of a isIndex object is:

document.all.oIsindex.disabled=false;

This element is a block element.

This element requires a closing tag.

示例代码

     <ISINDEX PROMPT="Enter a keyword to search for in the index">

标准信息

该对象已不建议使用,将可能在今后HTML标准中废弃。

This object is deprecated in HTML.

【HTML元素:isindex】相关文章:

XHTML基础教程(一)

HTML网页头部代码

XHTML基础教程(二)

HTML元素设置焦点的方法

HTML.Exploit.s

HTML元素:hr

HTML 4.0 语法影像标签

在HTML中关于tabIndex属性

HTML减少图像的颜色数

HTML tabIndex属性

精品推荐
分类导航