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