Fieldset legend
<form action="form.php" method="post"> <fieldset> <legend>Title<legend> <p><label for="email">Your email</label>: <input type="text" id="email" name="email" value=""/></p> </fieldset> </form>