Best practice for using anchor tags?

I am looking into using anchor tags for the first time and I am thinking I cant use them for this site because I am using xml and other variables that are being passed in on the first frame but maybe there as a chance that it still works. So I would like to know the best ways to use anchor tags. Someone who has used them please let me know.