Working together for standards The Web Standards Project


The folks at no-http.org would like to see the ubiquitous ‘http:’ removed from the beginning of all our URLs. So instead of linking to “http://example.com/” in your pages, you would link to just “//example.com/”.

This is actually quite legal. RFC 1808 specifies that URLs beginning with ‘//’ should just inherit the scheme of the base URL.

The argument for doing things this way is appealing to paranoid future-obsessed weirdos (like me). While HTTP is currently the most common way to deliver HTML, it could conceivably change in the future. Using scheme inheritance for links will prevent you from having to change them if or when things move away from HTTP.

Naturally, there’s a catch. I’m sure most of you have guessed it already: browser support. Surprisingly, the problem isn’t with the usual suspects. IE, Mozilla, and Konqueror all handle it properly. Unfortunately, Safari, Omniweb, and some versions of Opera all fail. So if you care about users with those browsers, you may want to hold off on making your site “Class X7.45.”

Now if I can just figure out where on earth they got the name “Class X7.45″ from…

Return to top

Post a Reply

Comments are closed.


All of the entries posted in WaSP Buzz express the opinions of their individual authors. They do not necessarily reflect the plans or positions of the Web Standards Project as a group.

This site is valid XHTML 1.0 Strict, CSS | Get Buzz via RSS or Atom | Colophon | Legal