[html5] W3C doc links? Shortcut urls?

Ian Hickson ian at hixie.ch
Fri Aug 9 13:03:47 PDT 2013

On Fri, 9 Aug 2013, Micky Hulse wrote:
> I hope this is an OK question to ask on this list.
> I'm writing some code and I want to document some HTML5 parts in the 
> comments.
> I'm using this URL:
> <http://dev.w3.org/html5/spec/Overview.html>
> ... and then appending the anchor for the section I want to link to. For 
> example:
> <http://dev.w3.org/html5/spec/Overview.html#week-state-(type=week)>
> The above re-directs to:
> <http://www.w3.org/html/wg/drafts/html/master/Overview.html#week-state-(type=week)>
> Basically, I'm wondering if there's a shortcut link that will get me to 
> the same endpoint?


That will do a redirect (partly JavaScript-mediated) to the right section.

If you want it even shorter:


...or (that's a c-cedilla, "alt+c" on en-US Mac):


If you want the single-page version instead of the multipage version:




Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the Help mailing list