Easy Tutorial
❮ Att Script Async Ev Onafterprint ❯

HTML <fieldset> name Attribute

HTML <fieldset> Tag

Example

A <fieldset> with the name attribute:


Browser Support

All major browsers support the name attribute except Internet Explorer.


Definition and Usage

The name attribute specifies the name of the fieldset.

The name attribute is used to reference the element in JavaScript or to reference the form data after the form is submitted.


Differences Between HTML 4.01 and HTML5

The name attribute is new for the <fieldset> tag in HTML5.


Syntax

Attribute Values

Value Description
name Specifies the name of the fieldset.

❮ Att Script Async Ev Onafterprint ❯