Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2014sep29 Language: html Keyword: 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.
Add a commentSign in to add a comment