The description of Yandex.Metrica explicitly says that URLs like
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
"from the start of the attribute value. This has nothing to do with the structure of the URL. What code validator are you using?