Generate HTML directly