简要咨询咨询QQ网站导航网站搜索手机站点联系我们设为首页加入收藏 

html元素:isindex

来源:易贤网   阅读:814 次  日期:2016-06-23 09:12:48

温馨提示:易贤网小编为您整理了“html元素:isindex”,方便广大网友查阅!

定义

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

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.

更多信息请查看网页制作
点此处就本文及相关问题在本站进行非正式的简要咨询(便捷快速)】     【点此处查询各地各类考试咨询QQ号码及交流群
上一篇:纯css实现设置半个字符的样式
下一篇:借助html分别禁用ie8, ie9的兼容视图模式的小技巧
易贤网手机网站地址:html元素:isindex
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!