adds html symbols to 3-ary table