using a protocol-independent path
the more you know =>
<img src="//domain.com/img/logo.png"/>
with the double-slash in the front of the src attribute, you can specify the domain name whilst letting https requests stay in SSL and letting html requests roam free.
{via}