fieldset 用法

体验地址:https://www.w3school.com.cn/tiy/t.asp?f=html_fieldset

<!DOCTYPE HTML>
<html>

<body>

<form>
  <fieldset>
    <legend>健康信息</legend>
    身高:<input type="text" />
    体重:<input type="text" />
  </fieldset>
</form>

<p>如果表单周围没有边框,说明您的浏览器太老了。</p>

</body>
</html>

 

 

        <fieldset class='layui-elem-field' style="margin: 10px; padding: 10px">
            <legend align="left">上报信息</legend>
                啊啊啊啊
        </fieldset>

 

posted @ 2020-06-24 16:19  雁书几封  阅读(922)  评论(0编辑  收藏  举报