formatting html output