Manage all html tags using PHP object and functions