HTML CSS examples for HTML Tag:form
The value of the name attribute is not sent to the server when the form is posted.
This attribute has value only in the DOM.
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <form name="fruitvote" id="fruitvote" method="post" action="http://example.com/form"> <input name="fave"> <input name="name"> <button>Submit Vote</button> </form> </body><!--from w w w . j ava2 s .com--> </html>