support elements other than anchor tags