I read somewhere recently that the button tag was improved and more semantically correct than input type="submit". I like that it's easy to specify a key/value pair separate from what's actually displayed on the button. However, I noticed on w3schools that in IE, the contents of the tag will be submitted, rather than the value attribute. Which should I use? Should I go back to my old name="action[value]" trick? IE:
vsHTML Code:<button type="submit" name="action" value="Save">Save Page</button>
HTML Code:<input type="submit" name="action[save]" value="Save Page" />









Bookmarks