Reputation: 3063
what is the best approach? Should I use this:
<button type="submit" value="Envoyer" name="submit">ENVOYER </button>
or this:
<input type="submit" value="Envoyer" name="submit">
And why?
Many thanks
Upvotes: 0
Views: 49
Reputation:
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.
Upvotes: 1