What is a <fieldset> tag?

Experience Level: Junior
Tags: HTML


The <fieldset> tag:

            <legend>Sign Up:</legend>
            <label for="name">Name</label>
            <input type="text" name="name" id="name"/>
  • Is group of boxes in <form> tag.
  • It helps organize fields in group.
  • Includes <legend> tag for name of the form.
  • Also is paired with <input> tag and <label> tag.
Related HTML job interview questions


No Comments Yet.
Be the first to tell us what you think.
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself