Adds target and title attributes