In this tutorial, you will see the use of checkbox and radio attribute of input tag.
In this tutorial, you will see the use of checkbox and radio attribute of input tag.In this tutorial, you will the use of checkbox and radio type input field. If type is checkbox then user can select multiple checkbox. If type is radio then user can select any one at a time.
Type Attribute:Attribute | Value | Description |
type |
checkbox radio |
user can select multiple checkbox. at time only one. |
<input type="password" attribute/> |
<!DOCTYPE html > <html > <head> <title>Password field</title> </head> <body> <form> <h2>Input tag.</h2> <h2>Implementation of password type input tag. </h2> <table><tr> <td style="width: 198px">passord</td> <td><input type="password" ></td> </tr> </table> </form> </body> </html> |