The <fieldset> element is used to group several controls within a web form. The caption for the fieldset is given by the first <legend> element nested inside.

code result
    <legend>Choose number</legend>

    <input type="radio" id="num1" name="numbers">
    <label for="num1">number 1</label><br/>

    <input type="radio" id="num2" name="numbers">
    <label for="num2">number 2</label><br/>

    <input type="radio" id="num3" name="numbers">
    <label for="num3">number 3</label>
Choose number


attribute description
disabled If this attribute is true value, all form controls that are descendants of the fieldset, are disabled (not editable and won't be submitted to server, won't receive any browsing events).
form Must be value of id attribute of a <form> element you want the <fieldset> to be part of, even if it is not inside the form.
name The name associated with the group.