HTML <fieldset>
query_builder | Christopher PisaniThe HTML element <fieldset> groups content whitin th element and forms a border around them. Using the <legend> element and set text inside it, will embed a title for the content inline with the border.
<form>
<fieldset>
<legend>Choose your favorite monster</legend>
<input type="radio" id="kraken" name="monster">
<label for="kraken">Kraken</label><br/>
<input type="radio" id="sasquatch" name="monster">
<label for="sasquatch">Sasquatch</label><br/>
<input type="radio" id="mothman" name="monster">
<label for="mothman">Mothman</label>
</fieldset>
</form>
Available Attributes
No specific attributes are assigned for this element, other than the standard global attributes.