Contents

<input type="image">

The image button state represents either an image from which a user can select a coordinate and submit the form, or alternatively a button from which the user can submit the form. The element is a button, specifically a submit button.

HTML Attributes

alt = stringProvides a textual label for an alternative button for users and UAs who cannot use the image specified by the src attribute. The alt attribute must also be present.

formenctype = application/x-www-form-urlencoded / multipart/form-data / text/plainSpecfy a MIME type with which a UA is meant to associate this element for form submission.The missing value default for these attributes is the application/x-www-form-urlencoded state.

application/x-www-form-urlencoded

multipart/form-data

text/plain

formmethod = get/ postSpecify the HTTP method with which a UA is meant to associate this element for form submission.The missing value default for this attributes is the GET state.

getIndicating the HTTP GET method.

postIndicating the HTTP POST method.

formnovalidate = booleanIf present, they indicate that the form is not to be validated during submission.

formtarget = valid browsing context names or keywordsSpecfy a browsing context name or keyword that represents the target of the control.

name = stringGives the name of the input element.

src = valid non-empty URL potentially surrounded by spacesSpecifies the location of an image. The src attribute must be present.