Zhaoxin Guo

Don't lose hope. You never know what tomorrow will bring.

HTML Img标签 src为网络地址无法显示图片问题解决(https)

举例说明:

<img src="https://pic.cnblogs.com/avatar/1549846/20191126100502.png" alt="加载失败"> 图片无法显示

只需要在<head>标签内添加 <meta name="referrer" content="no-referrer">就可以了

1 <head>
2     <meta name="referrer" content="no-referrer">
3 </head>

 

Don't lose hope. You never know what tomorrow will bring.

posted @ 2019-11-26 11:51  "郭召欣"  阅读(12108)  评论(3编辑  收藏  举报