Grouping Form Elements
If your form has different sections, you can separate them using the <fieldset> element which draws a box around the related form controls to group them. You add the <legend> tag immediately after the opening <fieldset> tag to define a caption that informs the purpose of that section.
Learn the HTML5 language in this tutorial series. These tutorials are designed for new programmers to provide them thorough knowledge of full stack web development.