0

元素类型“li”必须以匹配的结束标签“”结束。

无效的 XML:元素类型“li”必须由匹配的结束标记“”终止。

图片示例:

<ul class="left">
<li class="title">Customer Service</li>
<li class="menu">
    <ul>
        <li><a href="https://www.sample.com/contact.html">Contact Us</a></li>
        <li><a href="https://sample.com/info/shipping/ref=shop-global-footer">Shipping</a></li>
        <li><a href="https://sample.com/info/returns/ref=shop-global-footer">Returns</a></li>
    </ul>
    <ul class="pad-left">
        <li><a href="https://sample.com/info/FAQ/ref=shop-global-footer">FAQs</a></li>
        <li><a href="https://sample.com/info/sizeGuide/ref=shop-global-footer">Size Guide</a></li>
        <li><a href="https://www.sample.com/DMCA.html">DMCA Statement</a></li>
    </ul>
</li>
</ul>
    <ul class="mid">
<li class="title">My Account</li>
<li class="menu">
    <ul>
        <li><a href="https://sample.com/youraccount/ref=shop-global-footer">My Account</a></li>
        <li><a href="https://sample.com/signin/ref=shop-global-footer">Login</a>    </li>
        <li><a href="https://sample.com/signin?pageFlowType=CREATE_NEW_ACCOUNT_MAIN/ref=shop-global-footer">Create</a></li>
        <li><a href="https://sample.com/vieworders/ref=shop-global-footer">Track Your Order</a></li>
    </ul>
</li>
</ul>
<ul class="right">
<li class="title">Connect</li>
<li class="menu social">
    <ul>
        <li><a class="facebook" target="_blank" href="https://www.facebook.com/F"><img alt="Facebook" src="/media/Site Files/Theme Files/Active Theme/Images/common/1pixel.gif"></img>Facebook</a></li>
        <li><a target="_blank" class="twitter" href="https://twitter.com/"><img alt="Twitter" src="/media/Site Files/Theme Files/Active Theme/Images/common/1pixel.gif"></img>Twitter</a></li>
        <li class="email"><a rel=".newsletter-modal" class="email-footer" href="#"><img alt="Newsletter" src="/media/Site Files/Theme Files/Active Theme/Images/common/1pixel.gif"></img>Email</a></li>
    </ul>
    </ul>
</li>
</ul>
4

1 回答 1

0

</ul>在文档末尾附近加倍了结束标签。通过HTML 验证器运行您的代码段也可能会有所帮助。

于 2013-07-26T03:23:01.457 回答