Q1. How are radio and checkbox attributes of the input tag different from each other?
Q2. Explain the different values of input tag to create clickable buttons on the form.
sweety1911:
please answer me immediately
Answers
Answered by
5
- A checkbox input provides a multi-selection user choice. It is often depicted as an empty square (unselected) and a checkmark within a square (selected). Semantically, the only difference between the two HTML elements is the type="radio" attribute for radio options and type="checkbox" attribute for checkbox options.
- The three values are application/x-www-form-urlencoded (default), multipart/form-data, and text/plain. formmethod: Used only with type="submit" attribute. This specifies which HTTP method to use when submitting form data, either get or post. formnovalidate: Used only with type="submit" attribute.
Similar questions