Hello,

Here is the code to use for making UILabel programmatically.

Code:
UILabel *htmlLabel = [[[UILabel alloc] initWithFrame:CGRectMake(20, 178, 54, 31)] autorelease];
	htmlLabel.text = @"HTML:";
	htmlLabel.textColor = [UIColor whiteColor];
	htmlLabel.backgroundColor = [UIColor clearColor];