Subscribe to
Posts
Comments
NSLog(); Header Image

Protocol Relative URLs

The protocol-relative URL - Paul Irish

In short, just specify things like this:

<img src="//site.com/imgs/photo.png">

The "//" will fetch via HTTPS or HTTP depending on how the user is currently visiting.

Comments RSS

Leave a Reply


Warning: Undefined variable $user_ID in /var/www/vhosts/nslog.com/httpsdocs/wp-content/themes/nslog/comments.php on line 96

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.