Comment on Google finally has a 404 page that isn't uglyparentComments−rimantas15yAlso: href=//www.google.com/ Title is funny :) I think they could drop margin:0; padding:0 from css, default values in browsers won't change much for this type of page anyway.−tuxcanfly15y`//www.google.com` will automatically translate the url to http/https depending on the requested protocol.−Matt_Cutts15yYup, that way of doing it is protocol-agnostic.−etherealG15yis this officially accepted syntax? does it work in all browsers? (I'd really love both these answers to be yes so I can start doing this on my sites)−shazow15yYes and yes, since 1995.More specifically: http://www.ietf.org/rfc/rfc3986.txtVia: http://stackoverflow.com/questions/3583103/scheme-relative-u...−etherealG15ythanks :)−davidu15yWhich is interesting since Google doesn't serve a 404 over HTTPS as far as I can tell.−lancefisher15yTry this: https://mail.google.com/asdfasdf−corin_15yBut they're clearly doing their best to minimise file size, and so using // cuts down on a few characters.−windsurfer15yWell maybe they will...?−stanleydrew15yNone of the html attribute values are quoted either.
Comments
Also:
Title is funny :) I think they could drop margin:0; padding:0 from css, default values in browsers won't change much for this type of page anyway.`//www.google.com` will automatically translate the url to http/https depending on the requested protocol.
Yup, that way of doing it is protocol-agnostic.
is this officially accepted syntax? does it work in all browsers? (I'd really love both these answers to be yes so I can start doing this on my sites)
Yes and yes, since 1995.
More specifically: http://www.ietf.org/rfc/rfc3986.txt
Via: http://stackoverflow.com/questions/3583103/scheme-relative-u...
thanks :)
Which is interesting since Google doesn't serve a 404 over HTTPS as far as I can tell.
Try this: https://mail.google.com/asdfasdf
But they're clearly doing their best to minimise file size, and so using // cuts down on a few characters.
Well maybe they will...?
None of the html attribute values are quoted either.