Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以创建一个<a>链接到特定资源(例如图像或 PDF)的标签,当用户单击它时,它将在 Windows Preview、Adobe Reader 等(无论该文件类型的默认程序是什么)中打开,仅使用URL方案或类似的东西?
<a>
无法使用<a>标签指定使用 Windows Preview 打开要打开的图像(不知道有任何此类插件)。您可以集成 picasa(主要浏览器有一个插件)。adobe pdf 插件也是如此。
我猜你想要它给你的用户。而且您无法确定是否所有用户都安装了插件,我想这就是您问“...仅使用 URL 方案或类似的东西”的原因。但恐怕没有这样的<a>标签设施。