inputimage

Object for managing elements - images (INPUT tag , IMAGE type) on the current page



Code example:
<input name="img1" type="image" src="" onClick="reg()">

INPUT tag it is one of the versatile elements of the form and allows you to create different interface elements and provide interaction with the user. Input is mainly used for creating text fields, various buttons, radio buttons, and checkboxes. Although the input element does not need to be placed inside the form container that defines the form, if the data entered by the user must be sent to the server where the server program processes it, then you must specify form. The same is true for data processing using client applications, such as JavaScript scripts.

The main attribute of the input tag that defines the type of element is type. It allows you to set the following form elements: text field (text) field with password (password), the switch (radio), checkbox (checkbox), hidden field (hidden), button (button), the button to submit the form (submit) button to clear the shape (reset) the send file (file) and a button (image). Each element has its own list of attributes that define its appearance and characteristics. In addition, HTML5 has added more than a dozen new elements.

More information about the INPUT tag (source)

For the object,$inputimage is the INPUT tag with the IMAGE



basic functionality