Build HTML elements programmatically.