Improve html hints with text, className and custom hint.