HTML

Topic: Forms

What is a <fieldset>tag?

The <fieldset> tag is used to group related elements in a form.The <fieldset> tag draws a box around the related elements.Example:<form>  <fieldset>    <legend>Employee Information:</legend>    Emp Name: <input type="text" /><br />    Email: <input type="text" /><br />    Date of Joining: <input type="text" />  </fieldset></form> 

Browse random answers: