You might want to pass href and target to attr(..) as a collection.