为什么img src在论坛中不起作用?

问题描述 投票:-1回答:2

我主要使用Chrome。

当我在DeviantArt,Blogger,Flickr等网站上发布一些作品时,我无法显示图像而不是链接或仅显示图像,这真的很烦人,因为我尝试了很多东西来解决这个问题。我用:

<img src="https://VALID LINK" >

<a href="https://VALID WEBSITE">< img src="https://VALID BANNER on another 
website"/></a>

<a href="URL Address"><img src="Image URL address" alt="Name of Image" /></a>

只显示蓝色的https://website地址被点击和普通代码

<a href="URL Address">Name of Link</a>

该代码完美无缺

我想要显示一个可点击的图像,在您点击它到所需的网站后,它会引导您。为什么代码不起作用?是因为某种保护还是什么?

I use code as instructed in deviant art support or in most other sites

html image hyperlink src
2个回答
0
投票

运行后点击图标,检查其工作正常

<a href="https://stackoverflow.com/">
<img src="https://upload.wikimedia.org/wikipedia/commons/8/81/Stackoverflow_icon.png" 
alt="Name of Image" style="width:42px;height:42px;border:0;"/>
</a>

© www.soinside.com 2019 - 2024. All rights reserved.