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