关于标记验证错误的问题

发布于 2024-07-18 10:52:18 字数 430 浏览 5 评论 0原文

我正在使用 [http://validator.w3.org/][1]标记验证,我继续收到对我来说没有任何意义的错误。 例如,对于下面的两个,验证器告诉我在 body 和 html 标签的右括号内检测到错误。 对于一页,它重复这些错误 5 次,这对我来说没有意义。 任何建议或帮助都会很棒,谢谢! :)

第 184 行,第 7 列:XML 解析错误:开始和结束标记不匹配:div 第 17 行和正文

</body>

错误第 185 行,第 7 列:XML 解析错误:开始和结束标记不匹配:正文第 16 行和 html

</html>

I am using [http://validator.w3.org/][1] for markup validation and I continue to get errors that don't make any sense to me. For two below, for example, the validator is telling me that there is an error detected within the closing brackets of the body and html tags. For one page it repeats these errors 5 times and it doesn't make sense to me. Any suggestions or help would be great, thanks! :)

Line 184, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 17 and body

</body>

Error Line 185, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 16 and html

</html>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

謸气贵蔟 2024-07-25 10:52:18

正如您所看到的: ending tag mismatch: div - 您在某处缺少
它无法准确地找出它丢失的位置,但它知道它一定位于 之前的某个地方

As you can see: ending tag mismatch: div - you're missing a </div> somewhere.
It can't figure out exactly where it's missing from, but it knows it must be somewhere before </body>

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文