Add attributes to tabs