Html篇-fieldset标签演示
<fieldset style="width: 400px; height: auto; margin: 10px auto"> <legend>用户基本信息</legend> <form name="myForm" id="myForm" action="" method="post"> <label for="username"> UserName: </label> <input type="text" id="username" /> <br /> <label for="pwd"> PassWord!</label> <input type="text" id="pwd" /> <br /> <input type="submit" value="Submit" /> <input type="reset" value="Reset" /> </form> </fieldset>