Html 如何在网页上放置本地服务器位置的超链接?

Html 如何在网页上放置本地服务器位置的超链接?,html,wordpress,Html,Wordpress,我必须在wordpress博客页面上放置本地服务器位置的链接 该位置的性质为//192.168.20.68/localfolder/ 我试过把file:///localhost/192.168.20.68/localfolder <a href="file://192.168.20.68/localfolder" target="_blank">Local Folder</a> 或 它会打开一个新选项卡,但不会打开任何链接。它只是一片空白。 有人能帮忙吗?当您在

我必须在wordpress博客页面上放置本地服务器位置的链接

该位置的性质为//192.168.20.68/localfolder/

我试过把file:///localhost/192.168.20.68/localfolder

<a href="file://192.168.20.68/localfolder" target="_blank">Local Folder</a>


它会打开一个新选项卡,但不会打开任何链接。它只是一片空白。
有人能帮忙吗?

当您在浏览器中手动进入该位置时,地址栏会显示什么?如果我手动输入该位置的file://192.168.20.68/localfolder/'在浏览器中,它会打开服务器上的文件列表。可能存在重复的文件
<a href="file://192.168.20.68/localfolder" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">This link will open in new window/tab</a>