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

HTML fieldset form Attribute

HTML
form attribute

HTML fieldset Tag Reference HTML

tag

Example

located outside the form

element (but still part of the form):

What is your favorite color?

Name:

Email:

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently, only Opera supports the form attribute.


Definition and Usage

The form attribute specifies one or more forms to which the fieldset belongs.


Differences between HTML 4.01 and HTML5

The form attribute is new in HTML5.


Syntax

HTML
tag