New HTML generation approach