Modified OneLineTag subclass to be parent class of anchor class.