My understanding of the general form of a URL is that it looks as follows:
://?#
>
of course you can use /
in both fragment
and query
An example:
hash example
jsfiddle demo
Basically you can use anything that can be encoded in an URL. moreinfo