The Current State of HTML5 Forms

The formtarget Attribute

<form target="_self">
  <input type=submit formtarget="_blank">
</form>

Live Demo

Firefox
4+
Safari
5.2+
Safari Mobile
5+
Chrome
10
Opera
10.6+
IE
10+
Android
2.3-
Supported Supported Supported Supported Supported Supported No support

The Low Down

The formtarget attribute is for submit buttons to force override the target set in the form attribute. For example, the form's target may be set to open in a new window. The formtarget can override that and open within the same window.

  • Possible use case: No idea. You can override about everything else, why not this?
  • IE 9 accepts the attribute but it doesn't actually work. Can't test yet in IE 10 PP2 (one window).
  • Didn't work in Safari 5.0.3 but does now in 5.2. Also fixed from iOS 4 to 5.