What is the difference between the id and name attributes? They both seem to serve the same purpose of providing an identifier.
I would lik
The id will give an element a id, so once you write real code, (like JavaScript) you can use the id to read elements. The name is just a name so the user can see the name of the element, I guess.
Example:
text
//You can also use something like this:
document.getElementById("heading").value; //Reads the value of the selected element.
Is it helpful? Let me know if there is some problems.