常用表單元素一覽表 html文本框控件屬性?
html文本框控件屬性?窗口事件(窗口事件)僅在body和frameset元素中有效。屬性值描述Onload script在文檔加載時(shí)執(zhí)行腳本。卸載文檔時(shí),Onunload腳本執(zhí)行腳本。表單元素事件(
html文本框控件屬性?
窗口事件(窗口事件)
僅在body和frameset元素中有效。
屬性值描述
Onload script在文檔加載時(shí)執(zhí)行腳本。
卸載文檔時(shí),Onunload腳本執(zhí)行腳本。
表單元素事件(表單元素事件)
僅在表單元素中有效。
屬性值描述
onchange腳本在元素更改時(shí)執(zhí)行腳本。
Onsubmit script在提交表單時(shí)執(zhí)行腳本。
Onreset script在表單重置時(shí)執(zhí)行腳本。
Onselect腳本在選擇元素時(shí)執(zhí)行腳本。
Onblur script在元素失去焦點(diǎn)時(shí)執(zhí)行腳本。
Onfocus script在元素獲得焦點(diǎn)時(shí)執(zhí)行腳本。
鍵盤事件(鍵盤事件)
:base、bdo、br、frame、frameset、head、html、iframe、meta、param、script、styl:base、bdo、br、frame、frameset、head、html、iframe、meta、param、script、style、title元素在以下元素中無(wú)效。
屬性值描述
Onclick script在鼠標(biāo)被單擊時(shí)執(zhí)行腳本。
Ondblclick腳本雙擊鼠標(biāo)時(shí)執(zhí)行腳本。
Onmousedown腳本在按下鼠標(biāo)按鈕時(shí)執(zhí)行腳本。
Onmousemove腳本在鼠標(biāo)指針移動(dòng)時(shí)執(zhí)行腳本。
Onmouseout腳本在鼠標(biāo)指針移出元素時(shí)執(zhí)行腳本。
Onmouseover script當(dāng)鼠標(biāo)指針懸停在元素上時(shí)執(zhí)行腳本。
onmous
img屬于表單元素嗎?
img元素不是表單元素,它將圖像嵌入到網(wǎng)頁(yè)中。從技術(shù)上講,ltimggt標(biāo)簽并不將圖像插入到網(wǎng)頁(yè)中,而是從網(wǎng)頁(yè)中鏈接圖像。ltimggt標(biāo)記為引用的圖像創(chuàng)建一個(gè)占位符。