Returns a valid href for the given to value that may be used as the value of an attribute.
to
The destination URL