Html链接自动添加最后一页的ID

时间:2017-12-07 17:32:23

标签: html html5

我使用wordpress菜单链接页面和它们的部分。当我访问包含id“about-us#about-ceo”的链接时,如果我点击链接“sixsigmaconsult.com/careers/”,它会自动添加上次访问过的网页ID,例如“sixsigmaconsult.com/careers/ #about-ceo“这是什么错误?

<ul>
<li><a href="http://sixsigmaconsult.com">Home</a></li>
<li><a href="https://sixsigmaconsult.com/about-us/">WHO WE ARE</a>
<ul>
<li><a href="http://sixsigmaconsult.com/about-us#about-ceo">About CEO</a></li>
<li><a href="http://sixsigmaconsult.com/about-us#about-ssc">About SSC</a></li>
</ul>
</li>
<li><a href="https://sixsigmaconsult.com/what-we-do/">What We Do</a>
<ul>
<li><a href="http://sixsigmaconsult.com/what-we-do#urban-development">Urban Development</a></li>
<li><a href="http://sixsigmaconsult.com/what-we-do#transportation">Transportation</a></li>
</ul>
</li>
<li><a href="https://sixsigmaconsult.com/careers/">Careers</a></li>
</ul>

0 个答案:

没有答案