Javascript Reference - HTML DOM Input Image Object








The Input Image object represents an HTML <input> element with type="image".

Input Image Object Properties

Property Description
alt Sets or gets the alt attribute of an input image
autofocus Sets or gets if an input image can auto focus when the page loads
defaultValue Sets or gets the default value of an input image
disabled Disable or enable an input image
form Get the form that contains the input image
formAction Sets or gets the formaction attribute of an input image
formEnctype Sets or gets the formenctype attribute of an input image
formMethod Sets or gets the formmethod attribute of an input image
formNoValidate Sets or gets whether the form-data should be validated on submission
formTarget Sets or gets the formtarget attribute an input image
height Sets or gets the height attribute of the input image
name Sets or gets the name attribute of an input image
src Sets or gets the src attribute of the input image
type Get the type of the input image
value Sets or gets the value attribute of an input image
width Sets or gets the width attribute of the input image




Standard Properties and Events

The Input Image object supports the standard properties and events.