button

Object for managing input buttons on the current page (INPUT tag type BUTTON or SUBMIT or RESET or IMAGE)



Example of a button:
code :<input name="qwer" type="button" value="button" id="546"align="left" title="button example":>

Description
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 $button object, it is a INPUT tag with one of the BUTTON or SUBMIT or RESET or IMAGE



basic functionality