Adding anchor attribute