5

I saw more an more Javascript files and pictures and CSS loaded like this:

src="//somepath"

instead of

src="http://somepath"

What is this and what does it mean? Is there any documentation to it?

Thanks!

Sorin Buturugeanu
  • 1,782
  • 4
  • 19
  • 32
  • possible duplicate of [Using // in a – Quentin Feb 20 '12 at 09:23

1 Answers1

12

This is called protocol-relative URLs. Paul Irish has written a nice blog post about it.

ruhleder
  • 334
  • 1
  • 3
  • 9