Started using single function for all html tags