简体   繁体   English

W3C验证错误“ div”的XHTML标记结束标记被省略

[英]W3C Validation error XHTML markup- end tag for “div” omitted

validated web page using the W3C markup validation service found at: 使用W3C标记验证服务验证的网页,位于:

http://validator.w3.org/ http://validator.w3.org/

The error and info returned are: 返回的错误和信息是:

Error Line 112, Column 7: end tag for "div" omitted, but OMITTAG NO was specified 错误行112,第7栏:省略了“ div”的结束标记,但指定了OMITTAG NO

 </body>

Info Line 16, Column 1: start tag was here 信息第16行,第1栏:开始标记在此处

<div id="wrapper">

I cannot see an error in my markup however, can anyone help? 我在标记中看不到错误,但是有人可以帮忙吗?

Looks like your nav div is missing a closing div. 看起来您的导航div缺少关闭div。 There's a starting div at start nav, but no closing div by the close nav comment. 在开始导航时有一个起始div,但在关闭导航注释中没有结束div。 Your source code has one more opening div than closoing div and that looks like the missing one. 您的源代码中的开头div比封闭div多了一个,看起来像缺少的div。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM