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 ????

26th Sep 2016, 2:35 PM
Arslan Munir
Arslan Munir - avatar
1 Resposta
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.
3rd Nov 2016, 7:22 PM
Ali
Ali - avatar