Loading…

What is the use of <fieldset>?

The <fieldset> tag in HTML5 is used to group together related form elements. A <fieldset> must begin with a <legend> tag because this tag will define the title of the fieldset. By using <fieldset> tag and <legend> tag together, designers can make their forms easier to understand and use.

The syntax for <fieldset> tag is: <fieldset>Controls</fieldset>

Suggest An Answer

No suggestions avaliable!

Latest post from html5 Interview Questions

Ask Question