App下載

詞條

大約有 4,000 項(xiàng)符合查詢結(jié)果 ,庫(kù)內(nèi)數(shù)據(jù)總量為 78,409 項(xiàng)。(搜索耗時(shí):0.0047秒)

1231.HTML DOM Area 對(duì)象

...一個(gè)區(qū)域(圖像映射指的是帶有可點(diǎn)擊區(qū)域的圖像) 在 HTML 文檔中 <area> 標(biāo)簽每出現(xiàn)一次,就會(huì)創(chuàng)建一個(gè) Area 對(duì)象。 Area 對(duì)象屬性 W3C: W3C 標(biāo)準(zhǔn): 屬性 描述 W3C alt 設(shè)置或返回當(dāng)瀏覽器無(wú)法顯示某個(gè)區(qū)域時(shí)的替換文字。 Yes co...

http://m.o2fo.com/jsref/dom-obj-area.html

1232.HTML DOM createAttribute() 方法

HTML DOM createAttribute() 方法 Document 對(duì)象實(shí)例創(chuàng)建 class 屬性, 屬性值為 "democlass", 并將clas屬性添加到H1 元素中:var att=document.createAttribute("class");att.value="democlass";document.getElementsByTagName("H1")[0].setAttributeNode(att);元素添加屬性前:Hello World...

http://m.o2fo.com/jsref/met-document-createattribute.html

1233.HTML DOM createDocumentFragment() 方法

HTML DOM createDocumentFragment() 方法 Document 對(duì)象實(shí)例創(chuàng)建一個(gè) documentFragment 節(jié)點(diǎn):var d=document.createDocumentFragment();d.appendChild(document.getElementsByTagName("LI")[0]);d.childNodes[0].childNodes[0].nodeValue="Milk";document.getElementsByTagName("UL")[0].appendChild(d);輸出...

http://m.o2fo.com/jsref/met-document-createdocumentfragment.html

1234.HTML DOM activeElement 屬性

HTML DOM activeElement 屬性 Document 對(duì)象實(shí)例當(dāng)前獲得焦點(diǎn)的元素:var x = document.activeElement.tagName;x 輸出結(jié)果為:BUTTON嘗試一下?定義和使用activeElement 屬性返回文檔中當(dāng)前獲得焦點(diǎn)的元素。注意: 該屬性是只讀的。提示: 為元素設(shè)置焦...

http://m.o2fo.com/jsref/prop-document-activeelement.html

1235.HTML DOM importNode() 方法

HTML DOM importNode() 方法 Document 對(duì)象實(shí)例返回iframe中第一個(gè) H1 元素:var frame=document.getElementsByTagName("iframe")[0]var h=frame.contentWindow.document.getElementsByTagName("h1")[0];var x=document.importNode(h,true);嘗試一下 ?定義和用法importNode() 方法把一個(gè)節(jié)點(diǎn)...

http://m.o2fo.com/jsref/met-document-importnode.html

1236.HTML DOM renameNode() 方法

HTML DOM renameNode() 方法 Document 對(duì)象實(shí)例重新命名 p 元素:var p=document.getElementsByTagName("P")[0];document.renameNode(p,null,"h1");定義和用法renameNode() 方法重命名已有的元素節(jié)點(diǎn)或?qū)傩怨?jié)點(diǎn)。瀏覽器支持目前沒(méi)有主流瀏覽器支持 renameNode() 方法...

http://m.o2fo.com/jsref/met-document-renamenode.html

1237.HTML DOM inputEncoding 屬性

HTML DOM inputEncoding 屬性 Document 對(duì)象實(shí)例顯示當(dāng)前文檔的字符編碼:document.inputEncoding;輸出結(jié)果:UTF-8嘗試一下 ?定義和用法inputEncoding 屬性可返回文檔的編碼(在解析時(shí))。如果問(wèn)的在內(nèi)存中創(chuàng)建返回 null 。瀏覽器支持除了 Opera瀏...

http://m.o2fo.com/jsref/prop-document-inputencoding.html

1238.HTML DOM normalize 方法

HTML DOM normalize() 方法 Document 對(duì)象實(shí)例規(guī)范一個(gè)文檔:document.normalize(); 嘗試一下 ?定義和用法normalize 方法合并相鄰的文本節(jié)點(diǎn)并刪除空的文本節(jié)點(diǎn)。瀏覽器支持所有主要瀏覽器都支持 normalize 方法語(yǔ)法node.normalize()參數(shù)None.返回值...

http://m.o2fo.com/jsref/met-document-normalize.html

1239.HTML DOM normalizeDocument() 方法

HTML DOM normalizeDocument() 方法 Document 對(duì)象實(shí)例規(guī)范一個(gè)實(shí)體文檔:document.normalizeDocument();定義和用法normalizeDocument() 方法可以移除空文本節(jié)點(diǎn) , 并合并相鄰節(jié)點(diǎn)。目前沒(méi)有主流瀏覽器支持 normalizeDocument() 方法, 但是可以使用類似的方...

http://m.o2fo.com/jsref/met-document-normalizedocument.html

1240.HTML DOM getElementsByName() 方法

HTML DOM getElementsByName() 方法 Document 對(duì)象定義和用法getElementsByName() 方法可返回帶有指定名稱的對(duì)象的集合。語(yǔ)法document.getElementsByName(name)參數(shù) 描述 name 必須。元素的名稱。 瀏覽器支持 所有主要瀏覽器都支持 getElementsByNam...

http://m.o2fo.com/jsref/met-doc-getelementsbyname.html

抱歉,暫時(shí)沒(méi)有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒(méi)有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

1231.HTML DOM Area 對(duì)象

...一個(gè)區(qū)域(圖像映射指的是帶有可點(diǎn)擊區(qū)域的圖像) 在 HTML 文檔中 <area> 標(biāo)簽每出現(xiàn)一次,就會(huì)創(chuàng)建一個(gè) Area 對(duì)象。 Area 對(duì)象屬性 W3C: W3C 標(biāo)準(zhǔn): 屬性 描述 W3C alt 設(shè)置或返回當(dāng)瀏覽器無(wú)法顯示某個(gè)區(qū)域時(shí)的替換文字。 Yes co...

http://m.o2fo.com/jsref/dom-obj-area.html

1232.HTML DOM createAttribute() 方法

HTML DOM createAttribute() 方法 Document 對(duì)象實(shí)例創(chuàng)建 class 屬性, 屬性值為 "democlass", 并將clas屬性添加到H1 元素中:var att=document.createAttribute("class");att.value="democlass";document.getElementsByTagName("H1")[0].setAttributeNode(att);元素添加屬性前:Hello World...

http://m.o2fo.com/jsref/met-document-createattribute.html

1233.HTML DOM createDocumentFragment() 方法

HTML DOM createDocumentFragment() 方法 Document 對(duì)象實(shí)例創(chuàng)建一個(gè) documentFragment 節(jié)點(diǎn):var d=document.createDocumentFragment();d.appendChild(document.getElementsByTagName("LI")[0]);d.childNodes[0].childNodes[0].nodeValue="Milk";document.getElementsByTagName("UL")[0].appendChild(d);輸出...

http://m.o2fo.com/jsref/met-document-createdocumentfragment.html

1234.HTML DOM activeElement 屬性

HTML DOM activeElement 屬性 Document 對(duì)象實(shí)例當(dāng)前獲得焦點(diǎn)的元素:var x = document.activeElement.tagName;x 輸出結(jié)果為:BUTTON嘗試一下?定義和使用activeElement 屬性返回文檔中當(dāng)前獲得焦點(diǎn)的元素。注意: 該屬性是只讀的。提示: 為元素設(shè)置焦...

http://m.o2fo.com/jsref/prop-document-activeelement.html

1235.HTML DOM importNode() 方法

HTML DOM importNode() 方法 Document 對(duì)象實(shí)例返回iframe中第一個(gè) H1 元素:var frame=document.getElementsByTagName("iframe")[0]var h=frame.contentWindow.document.getElementsByTagName("h1")[0];var x=document.importNode(h,true);嘗試一下 ?定義和用法importNode() 方法把一個(gè)節(jié)點(diǎn)...

http://m.o2fo.com/jsref/met-document-importnode.html

1236.HTML DOM renameNode() 方法

HTML DOM renameNode() 方法 Document 對(duì)象實(shí)例重新命名 p 元素:var p=document.getElementsByTagName("P")[0];document.renameNode(p,null,"h1");定義和用法renameNode() 方法重命名已有的元素節(jié)點(diǎn)或?qū)傩怨?jié)點(diǎn)。瀏覽器支持目前沒(méi)有主流瀏覽器支持 renameNode() 方法...

http://m.o2fo.com/jsref/met-document-renamenode.html

1237.HTML DOM inputEncoding 屬性

HTML DOM inputEncoding 屬性 Document 對(duì)象實(shí)例顯示當(dāng)前文檔的字符編碼:document.inputEncoding;輸出結(jié)果:UTF-8嘗試一下 ?定義和用法inputEncoding 屬性可返回文檔的編碼(在解析時(shí))。如果問(wèn)的在內(nèi)存中創(chuàng)建返回 null 。瀏覽器支持除了 Opera瀏...

http://m.o2fo.com/jsref/prop-document-inputencoding.html

1238.HTML DOM normalize 方法

HTML DOM normalize() 方法 Document 對(duì)象實(shí)例規(guī)范一個(gè)文檔:document.normalize(); 嘗試一下 ?定義和用法normalize 方法合并相鄰的文本節(jié)點(diǎn)并刪除空的文本節(jié)點(diǎn)。瀏覽器支持所有主要瀏覽器都支持 normalize 方法語(yǔ)法node.normalize()參數(shù)None.返回值...

http://m.o2fo.com/jsref/met-document-normalize.html

1239.HTML DOM normalizeDocument() 方法

HTML DOM normalizeDocument() 方法 Document 對(duì)象實(shí)例規(guī)范一個(gè)實(shí)體文檔:document.normalizeDocument();定義和用法normalizeDocument() 方法可以移除空文本節(jié)點(diǎn) , 并合并相鄰節(jié)點(diǎn)。目前沒(méi)有主流瀏覽器支持 normalizeDocument() 方法, 但是可以使用類似的方...

http://m.o2fo.com/jsref/met-document-normalizedocument.html

1240.HTML DOM getElementsByName() 方法

HTML DOM getElementsByName() 方法 Document 對(duì)象定義和用法getElementsByName() 方法可返回帶有指定名稱的對(duì)象的集合。語(yǔ)法document.getElementsByName(name)參數(shù) 描述 name 必須。元素的名稱。 瀏覽器支持 所有主要瀏覽器都支持 getElementsByNam...

http://m.o2fo.com/jsref/met-doc-getelementsbyname.html

抱歉,暫時(shí)沒(méi)有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程