Answers for "difference between using id and name for input in html"

3

difference between name and id html

The name attribute is used when sending data in a form submission.
Different controls respond differently. For example, you may have several radio
buttons with different id attributes, but the same name. When submitted, 
there is just the one value in the response - the radio button you selected.
Posted by: Guest on August-02-2021

Code answers related to "difference between using id and name for input in html"

Browse Popular Code Answers by Language