how to make a button that submits a form html code example Example: submit button <button type="submit" form="form1" value="Submit">Submit</button>