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