define html-class for a field