Translations:Manual:HTMLForm Tutorial 3/190/en

First you can set the $class attribute (do not mix or confuse with $cssclass)