我想将指向本地 html 网站的新链接添加到网站上的菜单列表中。主要网站在 aspx 中,但我正在处理 html 副本。引用的链接指向我本地机器上的一个 html 网站。
<li><a href="C:/Users/User/Desktop/Consulting.html"><b>Custom Solutions</b><br />
Custom Software Applications and Solutions</a></li>
如果我将 href 替换为 www.google.com ,则链接指向谷歌。但它不适用于本地网站。C:/Users/User/Desktop/Consulting.html
是从 aspx 网站下载的网站。
href 是因为权限被拒绝还是因为本地网站来自 aspx 网站而无法工作?