Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Submit button

Submit button

Asubmit button is anelement in HTML that can be used to submit a<form>. The native submit button elements are:

In addition to submitting a form, a submit button can affect the form's behavior and what data is sent.

Overriding the form's behavior

Submit buttons can override the form's submission behavior through various attributes:

Form data entries

If the submit button is a<button> or<input type="submit"> and has aname attribute, the form data set will include an entry for itsname andvalue.

If the submit button is an<input type="image">, the form data set will include entries for the X and Y coordinates that the user clicked on (e.g.,x=100&y=200 orbuttonName.x=123&buttonName.y=234).

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp