Add classes only to tag defining range