如何在数据周围绘制一个带标题的框

如何在数据周围绘制一个带标题的框,通常我们会用到<fieldset>标签,不多说直接写代码:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<fieldset>
<legend>审批状态</legend>
<form>
未通过<input type="radio" name="statue">
通过<input type="radio" name="statue" checked>
全选<input type="radio" name="statue">
<input type="submit" value="提交">
</form>
</fieldset>
</body>
</html>

运行效果:

原文地址:https://www.cnblogs.com/pwm5712/p/2944497.html