0
What is the purpose of attributes "name" & "value" in the input element ???
If we are not using these, it cannot disturb the form, So why should we use them ????
1 Réponse
0
How can you say that?
When you type the elements for a form into your XHTML file, you give them unique names with the 'name' attribute and When you submit a form, the browser packages up all the data using the unique names. Say you type your name, address, city, state, and zip into the form and click submit. The browser takes each of these pieces of data and labels them with your unique name attribute values.