HTML5 placeholder占位符浏览器差异表现
代码:
CSS代码:
input { color: #333; }
HTML代码:
<label for="email">邮箱:</label> <input id="email" type="email" placeholder="zhangxinxu@zhangxinxu.com" size="26" />
input { color: #333; }
<label for="email">邮箱:</label> <input id="email" type="email" placeholder="zhangxinxu@zhangxinxu.com" size="26" />