如何将 Sharepoint 中的内容编辑器 Web 部件链接到另一个 URL 链接?

发布于 2024-09-29 02:27:19 字数 116 浏览 1 评论 0原文

在 Sharepoint 中,如何通过单击内容编辑器 Web 部件中的图像将其链接到另一个 URL 链接?

我将链接粘贴到内容链接空间中,但是当我应用更改时,它会将我的图像变成 - 并且我无法单击该链接

In Sharepoint, how can I link an image in a content editor web part to another URL link by clicking on it?

I pasted my link into the Content Link space but when I apply the change it turns my image into a - and I cannot click the link

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

戏舞 2024-10-06 02:27:19

内容编辑器 Web 部件只是原始 html。因此,将图像包装在链接中的方法是使用 a(锚点)标签,如下所示。

<a href="DestinationURL"><img src="yourimagefile.jpg" /></a>

a content editor webpart is just raw html. so the way to wrap an image in a link is to use the a (anchor) tag like so.

<a href="DestinationURL"><img src="yourimagefile.jpg" /></a>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文