htmlanchorwikipediaanchorpoint

How to use html anchor with space?


I wan't to access a wikipedia page with anchor - I'm not sure if this a 'wikipedia' or HTML related question

Access a single word with an anchor is easy

http://en.wikipedia.org/wiki/Wake-on-LAN#History

But how can I access a header with space?

http://en.wikipedia.org/wiki/Wake-on-LAN#Principle of operation ✗
http://en.wikipedia.org/wiki/Wake-on-LAN#Principle%20of%20operationhttp://en.wikipedia.org/wiki/Wake-on-LAN#Principleofoperation


Solution

  • Basically, space is %20, but wikipedia uses _
    http://en.wikipedia.org/wiki/Wake-on-LAN#Principle_of_operation