为什么不能加载placeholder与data-am-datepicker这两个属性?
Multiple annotations found at this line:
- Undefined attribute name (data-am-
datepicker).
- Undefined attribute name (placeholder).
placeholder是HTML5的方法,从你的标头看,你的THML是4。。。
data-am-datepicker也是。。。
那么问题来了,如何写THLM5呢?
去掉你原来的HTML声明,加上这句:
<!DOCTYPE html>
即可~