Ok, first let me try to write your question for you: What is the difference between a button (input tag) with type="submit" and one with type="button"? Is that what you tried to write? I'm not completely sure, as what you wrote completely lacks any grammar, so I mostly based it on the words "diff", "submit", "button", "Input" and "type" from your post. If it was, then the answer is that the "submit" button is used to submit the form that it is placed in, while the "button" button is used to run the Javascript in it's onclick event.
--- Year happy = new Year(2007);