generates inlined html output