Tidy 1 CN

From Htmlpedia
Jump to: navigation, search

Tidy: Notice: entity "..." doesn't end in ";"

原因:

The error is caused by an improperly terminated character entity.

In HTML 4, this is a notice message or recommendation, not an error. In XHTML, however, it is an error.

示例:

Entity "&nbsp" doesn't end in ";"

BadSome &nbsp &nbsp spaces
GoodSome   spaces

解决方案:

Add a ";" at the end of each entity.

参考: