favor attr over prop