小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

input type=submit - HTML元素

 小明 2006-11-10

定義

創(chuàng)建一個按鈕,點擊該按鈕后,即提交表單。

Creates a button that, when clicked, submits the form.

注釋

使用 VALUE 標簽屬性將創(chuàng)建無法由用戶編輯的顯示標簽。默認的文字是 Submit Query。如果用戶單擊提交按鈕提交了表單,并且按鈕指定了 name 標簽屬性,那么該按鈕也將以 name/value 方式成對提交。

如果 INPUT type=submit 元素是 FORM 元素的一部分,則該按鈕將以粗邊框顯示,這代表著用戶按回車就可提交表單。

如果在同一表單中有多個 INPUT type=submit 按鈕,按回車鍵將使用第一個 INPUT type=submit 按鈕提交表單,除非此時正有另一個 INPUT type=submit 按鈕獲得了焦點。如果另外一個 INPUT type=submit 按鈕已獲得焦點,按回車鍵將使用獲得焦點的 INPUT type=submit 按鈕提交表單。

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

此元素是一個內(nèi)嵌元素。

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

Use the VALUE attribute to create a button with a display label that cannot be edited by the user. The default label is Submit Query. If the user clicks the Submit button to submit the form, and that button has a name attribute specified, that button contributes a name/value pair to the submitted data.

If the INPUT type=submit element is part of a FORM element, it appears as a button with a dark border, which indicates the user can press ENTER to submit the form.

When there is more than one INPUT type=submit in the same form, pressing enter submits the form using the first INPUT type=submit, unless another INPUT type=submit has focus. When another INPUT type=submit has focus, pressing enter submits the form using that INPUT type=submit.

The INPUT type=submit element is available in HTML and script as of Internet Explorer 3.0.

This element is an inline element.

This element does not require a closing tag.

示例代碼

<input type="submit" value="提交">

演示示例

另見

button, input

相關(guān)教程和示例代碼

HTML表單

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多