Undefined attribute name (placeholder).和Undefined attribute name (autocomplete).问题

myeclipse中,在写jsp代码后出现了Undefined attribute name (placeholder).和Undefined attribute name (autocomplete).问题


百度了一下,说是头文件出了问题

原来是:


改为:


问题解决!

原因:

 在 HTML 4.01 中有三种 声明。在 HTML5 中只有一种:

placeholder和autocomplete是htm5的新标签,所以才会报错。

转载于:https://www.cnblogs.com/fsn-nervergiveup/p/9061579.html

你可能感兴趣的:(Undefined attribute name (placeholder).和Undefined attribute name (autocomplete).问题)