您的位置:首页 > Web前端 > HTML5

html5新增属性

2017-11-01 19:26 120 查看
<style type="text/css">
form{
width: 100%;
min-width: 400px;
max-width: 800px;
margin: 0 auto;
font-size: 13px;
}
input{
display: inline-block;
width: 100%;
height: 40px;
margin: 10px 0px;
}
</style>

<form>
<fieldset>
<legend>新增表单属性</legend>
<label>
用户名:<input type="text" name="uname" autofocus="autofocus"  required="required" placeholder="用户名格式:李四" autocomplete="off"/>

</label>

<input type="submit" value="提交" />
</fieldset>

</form>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: