<!DOCTYPE HTML>
<html>
<body>
<form>
  <fieldset>
    <legend>在边框上的字</legend>
    可以输入内容:<input type="text" />
    随便输入内容:<input type="text" />
  </fieldset>
</form>
</body>
</html>

带标题的边框

相关文章: