HTML <input> formtarget Attribute
Example A form with two submit buttons, with different target windows: <form action=”/action_page.php”> First name: <input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname”><br> <input type=”submit” value=”Submit as normal”> <input type=”submit” formtarget=”_blank” value=”Submit to a new window”> </form> Try it Yourself » Definition and Usage The formtarget attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form. […]
