populate tag property to match tagname selector