Browse - Programming Tips - How can I put a groupbox (as its called in Windows) around

Date: 2014sep29
Language: html
Keywords: border where title appears in a break at the top

Q.  How can I put a groupbox (as its called in Windows) around
some input fields in HTML?

A.  Use <fieldset> and <legend> like this:

<form> <fieldset> <legend>Personal Info:</legend> Name: <input type="text"><br> Email: <input type="text"><br> Date of birth: <input type="date"> </fieldset> </form>
The contents of the <legend> tag will be displayed groupbox style.