1. The type attribute of the input tag
Property |
Value |
Describe |
Type |
button |
Define clickable buttons (in most cases, use JavaScript to launch scripts). |
File |
Define input fields and "Browse" buttons for file uploads. |
CheckBox |
Define the check box. |
Hidden |
Defines the hidden input field. |
Image |
Defines the submit button in the form of an image. |
Password |
Defines the password field. The characters in the field are masked. |
Radio |
Defines a radio button. |
Reset |
Defines the reset button. The reset button clears all the data from the form. |
Submit |
Define the Submit button. The Submit button sends the form data to the server. |
Text |
Defines an input field for a single line in which the user can enter text. The default width is 20 characters. |
The Name property of the 2.input tag
Property |
Value |
Describe |
Name |
Field_name |
Define the name of the INPUT element |
Value of the 3.input tag
Property |
Value |
Describe |
Value |
Value |
Specify the value of the INPUT element |
Width and height of 4.input tags
Property |
Value |
Describe |
Width
|
pixels% |
Defines the width of the input field. (For type= "image") |
Height |
pixels% |
Defines the height of the input field. (For type= "image") |
5.disabled and checked
property |
Value |
description |
disabled |
disabled |
|
checked |
checked |
|
Attributes related to input tags in HTML