References

Collection of references for web development.

HTML fieldset tag

Description

The HTML <fieldset> element is used to group related elements in a form.

Attributes

Attribute Value Description
disabled boolean Specifies whether the element should be disabled or not (user is unable to click or control if disabled).
form ID Specifies the form(s) that the element belongs to.
name string Specifies the name of the element.

Example

<form>
	<fieldset>
		<legend>Login</legend>
		Username: <input type="text"><br>
		Password: <input type="text">
	</fieldset>
</form>