+ 1
value in submit type
what is the benefit of putting value= "submit" in input type " submit" i tried to remove it and there was no different
1 Answer
+ 10
value="submit" is the text appear in your button..
like <input type="submit" value="Save" > will appear Button with "Save" text on it..
if you only put <input type="submit">, it will only appear submit text which is the default value