VOOZH about

URL: https://www.geeksforgeeks.org/html/html-fieldset-name-attribute/

⇱ HTML <fieldset> name Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <fieldset> name Attribute

Last Updated : 26 Feb, 2024

The HTML <fieldset> name Attribute is used to specify the name for the Fieldset element. It is used to reference the form data after submitting the form or to reference the element in JavaScript. 

Syntax: 

<fieldset name="text"> 

Attribute Values: It contains the value i.e. name which specifies the name for the fieldset element. 

Example: In this example, we will use  HTML <fieldset> name Attribute

Output: 

👁 Image

Supported Browsers: 

  • Google Chrome
  • Edge 12 and above
  • Firefox
  • Opera
  • Apple Safari
  • Internet Explorer
Comment
Article Tags: