what is the use of name attribute in html code example
Example: name attribute in html
Usually the 'name' attribute is used to handle input value after a form
submition.
Can also be used to reference an element in Javascript.
<input name='myName'>