button as submit input code example Example 1: html submit button <input type="submit" value="Submit"> Example 2: html submit button <input type="submit">