Usually, a submit button works fine without a name
attribute. However, there are occasions where there's a need to have two submit buttons for the same form, hence making use of the name
attribute to identify which button was clicked on the server side.
To clarify I am talking about: <input type="submit" name="foo">