效果:![](https://img.kancloud.cn/7c/e8/7ce80f41f05c7518f31f07fd6b4392f2_845x235.png)
```
<div style="margin: 50px; width: 400px">
<fieldset class="border">
<legend>测试标题</legend>
<label for="">测试1:</label> <input type="text" /><br />
<label for="">测试2:</label> <input type="text" />
</fieldset>
</div>
```