那些以//开头的网址是什么?您可以在Google+ html来源中看到这些网址? [英] What are those URL's that are starting with // - that you can see within Google+ html source?

查看:181
本文介绍了那些以//开头的网址是什么?您可以在Google+ html来源中看到这些网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以解释一下我们在Google+ HTML源代码中看到的网址是什么,这些代码看起来像< img src =// lh5.googleusercontent.com/--kKi9nRc78s/AAAAAAAAAAI/ AAAAAAAAAC8 / w1PSeKZtt7I / photo.jpg?sz = 48alt =/>

Hi can somebody please explain what are the URL's that we can see at Google+ HTML source code that look like <img src="//lh5.googleusercontent.com/--kKi9nRc78s/AAAAAAAAAAI/AAAAAAAAAC8/w1PSeKZtt7I/photo.jpg?sz=48" alt="" />

它是http://的快捷方式?

Is it a shortcut for http:// ?

在这种情况下,哪些浏览器了解它,我在哪里可以找到更多相关信息?

What browsers understand it in this case, where can I find more information on this, please ?

提前致谢!

推荐答案

这是 scheme - 相对URL。您经常在可以通过http和https提供的网站/网页上看到这一点。如果图像指向http资源并且页面本身是通过https提供的,那么您会看到恼人的浏览器警告已提供不安全的内容,如下所示:

It's a scheme-relative URL. You see this often on websites/pages which can be served over both http and https. If the image pointed to a http resource and the page itself was served over https, you would otherwise see an annoying browser warning that unsecured content is been served, something like this:

这篇关于那些以//开头的网址是什么?您可以在Google+ html来源中看到这些网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆