Subscribe to
NSLog(); Header Image

Protocol Relative URLs

The protocol-relative URL - Paul Irish

In short, just specify things like this:

<img src="//">

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

Trackback URI | Comments RSS

Leave a Reply

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.