0

what is the best approach? Should I use this:

<button type="submit" value="Envoyer" name="submit">ENVOYER&nbsp;</button>

or this:

<input type="submit" value="Envoyer" name="submit">

And why?

Many thanks

Greg
  • 3,025
  • 13
  • 58
  • 106
  • 2
    possible duplicate of [ – Gergo Erdosi Jun 28 '14 at 11:56

1 Answers1

1

The disadvantage of is that it's not fully supported by older browsers. IE6/7, for example, don't display it correctly.

Unless you have some specific reason, it's probably best to stick to <input type='submit' />.

<input type='submit' /> doesn't support HTML inside of it, since it's a single self-closing tag.