html reset bootstrap - Difference between <input type='submit' /> and <button type='submit'>text</button>

1 Answers

With <button>, you can use img tags, etc. where text is

<button type='submit'> text -- can be img etc.  </button>

with <input> type, you are limited to text

php tag onclick

There are many legends about them. I want to know the truth. What are the differences between the two following examples?

  1. <input type='submit' value='text' />

  2. <button type='submit'>text</button>



html   button