Possible duplicate:
Can I change all my links only to //?
I recently ran into this problem while scrolling the markup for a Google 404 page. In it they use // at the beginning of their URLs, in anchors in the markup, and also refer to / etc images in their CSS.
Since this is not what I met before, and given that Google is known for its optimization with finite granularity, I thought I would ask here and see if anyone has more information about using // instead of http: // this is not something that can be easily googled to find the answer.
I know that // is useful in applications where either http or https can appear, but are there other benefits besides this? Is it supported by all browsers? Are there any usage restrictions? Is it new / old?
I would be very interested if anyone has any information.
source
share