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