Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML button formaction attribute

HTML

HTML button Tag Reference HTML

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera, Chrome, and Safari support the formaction attribute.

Note: Internet Explorer 9 and earlier IE versions do not support the formaction attribute.


Definition and Usage

The formaction attribute overrides the form element's action attribute.

This attribute is used with type="submit".


Differences between HTML 4.01 and HTML5

The formaction attribute is new in HTML 5.


Syntax