0

Does number 1 have the same effect as number 2? I am new to HTML

1)

<input type="submit" value="Google"> 
<button>Google</button>
  • `type="submit"` is generally used to submit the forms, and refreshes the page on click, while normal button when clicked does not refresh the page – Nikhil Singh Jul 28 '20 at 21:47
  • @NikhilSingh — What does that have to do with the question? `type="submit"` is the **default** for ` – Quentin Jul 28 '20 at 21:54

0 Answers0