Horje

How to add A button located outside a form (but still a part of the form)

Button Example.
index.html
Example: HTML
 <form action="/action_page.php" method="get" id="form1">
  First name: <input type="text" name="fname"><br>
  Last name: <input type="text" name="lname"><br>
</form>

<button type="submit" form="form1" value="Submit">Submit</button> 

Output should be:

How to add A button located outside a form (but still a part of the form)




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin