What's the deal with URLs for Yandex.Metrica not prepended with "http"?
- by sharptooth
The description of Yandex.Metrica explicitly says that URLs like //mc.yandex.ru/metrika/watch.js (no http: in front) that the web site owner has to insert into his pages are not erroneous. So for example this code:
<img src="//mc.yandex.ru/watch/00000"
style="position:absolute; left:-9999px;" alt="" />
is claimed to be okay.
However the code validator thinks such URLs are not okay and I'd rather make the validator happy so that noone breaks the code later trying to "fix" it.
Why are these URLs not prepended with http:? What happens if I actually prepend them with http:?