Check out example codes for "what is a fieldset html". It will help you in understanding the concepts better.

Code Example 1

The <fieldset> is a tool for organizing and grouping related 
items within a form. (Mostly visual for the reader).

    <input type="radio" id="kraken" name="monster">
    <label for="kraken">Kraken</label>

    <input type="radio" id="sasquatch" name="monster">
    <label for="sasquatch">Sasquatch</label>


Learn ReactJs, React Native from