Difference between id and name tag attributes HTML
- by yongjieli
Hi guys what is the difference between the id and name attributes? they both seem to serve the same purpose of providing an identifier.
I would like to know (specifically with regards to ASP.net web forms) whether or not using both is necessary or encouraged for any reasons.
Thanks guys!