1、placeholder:提示信息
<input type="text" placeholder="手机/邮箱/用户名"><input type="password" placeholder="请输入密码">
2、input新增属性
<input type="radio">单选<input type="checkbox">多选<input type="file">文件<!-- Canlender类:不常用,兼容性不好 --><input type="date"><!-- chrome支持,Safari,Ie不支持 --><input type="time"><input type="week"><input type="datetime-local"> <!-- 年月日和时间的组合 --><!-- input新增属性:不常用,兼容性不好 --><form action=""> <input type="number"><!-- chrome支持,Safari,Ie不支持 --> <input type="email"><!-- 如果不对会提示错误 --><!-- chrome,火狐支持,Safari,Ie不支持 --> <input type="color"><!-- 颜色选择器 --><!-- chrome支持,Safari,Ie不支持 --> <input type="range" min="1" max="100" name="range"><!-- 可以得到value值 --><!-- chrome,Safari支持,火狐,Ie不支持 --> <input type="search" name="search"><!-- 会自动给提示 --><!-- chrome支持,Safari支持一点,Ie不支持 --> <input type="url"><!-- 输入网址 --><!-- chrome,火狐支持,Safari,Ie不支持 --> <input type="submit"></form>