+ 31
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 idattributes, but the same name. When submitted, there is just the one value in the response - the radio button you selected. https://stackoverflow.com/questions/1397592/difference-between-id-and-name-attributes-in-html
14th Feb 2018, 10:36 AM
Elizabeth🌾
Elizabeth🌾 - avatar