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

HTML label form Attribute

HTML

HTML label Tag Reference HTML

Example

located outside the form

 

 

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the form attribute.


Definition and Usage

The form attribute specifies the


Differences between HTML 4.01 and HTML5

The form attribute is new in HTML5.


Syntax

Attribute values

Value Description
form_id Specifies the

HTML label Tag Reference HTML