HTML fieldset tag

HTML fieldset tag is used to show form elements in groups.

The fieldset tag is used with <legend> tag to show details . This makes form elements much easier for the user to understand.



Motorcycle Brands:

List of HTML fieldset tag attributes

Sr. No.Attribute optionsDescription
1alignThis option used to align text to the specified directions. The values for these are left, center, right, top and center.
2disabledThis attribute is used to disable the element. The value for this is disable.
3formThis is used to include the form id to specify fieldset associated with which form. The value for this is the id of the form.
4nameThis is used specify the name of the fieldset. The value for this is the name for fieldset.

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.