fieldset과 legend
<form action="#" method="POST"> <fieldset id="input1-wrapper"> <legend>Input 1</legend> <input type="text" name="input1" placeholder="input1"> </fieldset> <fieldset id="input2-wrapper"> <legend>Input 2</legend> <input type="text" name="input2" placeholder="input2"> </fieldset> </form>