<input type="submit" formtarget="_blank">
The Low Down
formtarget attribute enables overriding of the
target attribute set in the
<form> opening tag, giving the browsing context, or target, of the form response.
formtarget attribute specifies which window should be used to display the form response.
- Determines with window or frame the response will open in. "_self" is the default.
- Values can include "_blank", "_self", "_parent", or "_top", case-insensitive , or a name you create the name of a browsing context that doesn't start with '_'.
- Valid as an attribute of elements that can submit a form, including
<input type=image> and
- If the form is submitted via
<input type=image> or
<button> with a
formtarget attribute set, that button's
formtarget attribute value overrides the
target attribute of the