一些人错误地把标准模式称为“严格解析模式(strict parsing mode)”,其让人误解了浏览器强制执行HTML语法规则和用浏览器评估标记的正确性。情况并非如此。
基于12个网页-相关网页
正如清单2所暗示的那样,要解析的值必须严格符合特定(特定于语言环境)的样式或模式。
As Listing 2 suggests, the value to be parsed must strictly adhere to the specified (locale-specific) styles or pattern.
相反,必须应用DTD并让浏览器使用标准模式,而且还应选择严格到足以提高解析速度的DTD。
Instead, you need to supply a DTD, have your browser use standards mode, and you need to choose a DTD that is restrictive enough to speed up parsing.
应用推荐