一.什么是H5
HTML5的第五个版本(h5一般是指移动版的开发)
二.h5新增属性:(1)placeholden(文本框的样式设计,默认值)
<input type="text" placeholder="请设置用户名"> <input type="password" placeholder="请输入密码"> <input type="text" value="请设置用户名">
(2)input的type类型
<input type="date" name="date">//日期(年月日)框 <br> <input type="time" name="time">//时间框(几点几时几分) <br> <input type="week" name="week">//(第几周) <br> <input type="datetime-local" name="datetime"> <br> <br> <br> <input type="number"> <br> <input type="email"> <br