Hyperlink to section

How do you insert a hyperlink in one url to a section in another url?

Add a parameter in the first that includes the second, as in

http://mydomain.com?url=http://anotherurl.com