The HTML5 fieldset Tag

The HTML5 <fieldset> tag is utilized in an HTML document such that all related elements in a form are in one group. When the HTML5 <fieldset> tag is placed, there will be a box which encloses all related elements.

The use of HTML5 <fieldset> tag is recognized by all the major web browsers that are being utilized these days such as Internet Explorer, Google Chrome, Firefox, Opera and Safari.

Some of the attributes that work with the HTML5 <fieldset> tag are not recognized in HTML4.01 such as disabled, form and name attributes.

When the HTML5 <fieldset> tag is used, it usually comes with the <legend> tag which showcases the caption.

The attributes for HTML5 <fieldset> tag are the following:

Attribute

Value

Description

disabled

disabled

Identifies what kind of a group of elements should be disabled

form

form_id

Identifies the fieldset elements form belongs to

name

text

Identifies a name for the fieldset

Using the HTML5 <fieldset> tag is not a problem even with the Global Attribute or Event Attribute in HTML5.

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …