国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > HTML > 正文

HTML元素-isin、dex

2020-03-24 15:56:26
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

  定義

  使瀏覽器顯示一個(gè)對(duì)話框,提示用戶(hù)輸入單行文本。

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

  注釋

  在 HTML 4 中,此元素是不推薦使用的,推薦使用 INPUT 元素來(lái)取代它。isIndex 的 tagName 屬性將返回 input。

  ISINDEX 元素屬于文檔的 body 中。

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

  此元素被看作 form 對(duì)象中的一個(gè) inpu

自然探索發(fā)現(xiàn)[www.9-39.com/html/explore/]t 對(duì)象。要使用腳本訪問(wèn)該元素,你必須使用 document 對(duì)象的 all 集合。例如,要訪問(wèn)一個(gè) isIndex 對(duì)象的 disabled 屬性的語(yǔ)法為:

  document.all.oIsindex.disabled=false;

  此元素是一個(gè)塊元素。

  此元素需要關(guān)閉標(biāo)簽。

  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">

  標(biāo)準(zhǔn)信息

  該對(duì)象已不建議使用,將可能在今后HTML標(biāo)準(zhǔn)中廢棄。

  This object is deprecated in HTML.

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。

發(fā)表評(píng)論 共有條評(píng)論
用戶(hù)名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 浦城县| 灵宝市| 崇阳县| 来安县| 剑河县| 营口市| 观塘区| 扶风县| 鸡西市| 尤溪县| 沙洋县| 喀什市| 深泽县| 嘉义市| 马鞍山市| 宜章县| 南阳市| 河北区| 虎林市| 苍溪县| 徐州市| 临洮县| 连城县| 铜鼓县| 聂拉木县| 喀什市| 镇平县| 龙川县| 湖口县| 渝北区| 铅山县| 郁南县| 平舆县| 绥宁县| 通山县| 朝阳市| 繁峙县| 浏阳市| 甘洛县| 荔波县| 甘洛县|