Actually, the double slash is useful for at least one thing. You can use it in web pages to make relative URLs which preserve the protocol, but change the server.<p>Suppose you have pages on a server www.example.com that reference images on an asset host assets.example.com. Usually, you would use a full URL in your HTML to reference your images:<p><a href="http://assets.example.com/image.png" rel="nofollow">http://assets.example.com/image.png</a><p>This is fine if all your accesses to www.example.com are done over HTTP. But what if you want to use HTTPS sometimes? Unless you change those URLs to use the HTTPS protocol as well, the browser may give the 'mixed secure and insecure content' warning.<p>If you specify the image URLs as relative URLs in the form:<p>//assets.example.com/image.png<p>then when a user visits <a href="http://www.example.com/" rel="nofollow">http://www.example.com/</a> their browser will fetch the image from <a href="http://assets.example.com/image.png" rel="nofollow">http://assets.example.com/image.png</a> . But when they visit <a href="https://www.example.com/" rel="nofollow">https://www.example.com/</a> their browser will fetch the image from <a href="https://assets.example.com/image.png" rel="nofollow">https://assets.example.com/image.png</a> .<p>Without the double slash, this kind of relative URL would be indistinguishable from the more common relative URL which just means a different path on the same server:<p>/assets.example.com/image.png