国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 温宿县| 托克托县| 伊宁市| 张掖市| 蒙自县| 公安县| 德江县| 喀喇| 北海市| 凤山市| 尚义县| 阿巴嘎旗| 壤塘县| 荃湾区| 普格县| 花垣县| 十堰市| 浮山县| 渝中区| 海口市| 乐清市| 共和县| 麻栗坡县| 荣昌县| 三亚市| 达孜县| 双峰县| 庄浪县| 南川市| 保山市| 蒙自县| 屏南县| 芜湖县| 大石桥市| 东港市| 富平县| 汉沽区| 丰县| 三门峡市| 会泽县| 浦城县|