UITextView
and UITextField
support for styled text using attributed strings was added in iOS 6. Your best option in iOS 5 is to use HTML and a UIWebView
See: https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS6.html#