override attributes= methods for tags