Add link tag to end element