handle tags starting with g charater as graphics instead all non t-tags