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

HTML button form attribute

HTML

HTML button Tag Reference HTML

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All other major browsers support the form attribute, except Internet Explorer.


Definition and Usage

The form attribute specifies which form or forms the button belongs to.


Differences between HTML 4.01 and HTML5

The form attribute is new in HTML5.


Syntax