No grammar constraints (DTD or XML Schema) 解决

1,关闭xml检查html

windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignorewindows

2,加入xml

  <!DOCTYPE xml> htm

或者ci

<!DOCTYPE html>get

若是报红叉,尝试io

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/2002/xmlspec/dtd/2.10/xmlspec.dtd">file

相关文章
相关标签/搜索