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>

 

posted @ 2013-05-15 14:19  nik2011  阅读(100)  评论(0编辑  收藏  举报