Dynamic anchor tag link attachment