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

相關文章
相關標籤/搜索