Delphi 4 Developer's Guide - Dynamic Page Creation
Click
here
for a dynamically created web page.