JavaScript for WordPress Forums React Explained button vs input Reply To: button vs input


Its better practice to use button, as there was a bug in firefox which prevented you setting line height for Input type button.

Plus <button> has a much wider range of rendering possibilities, for example Input type button can only have text where as button can have images,icons ,etc