css for required field asterisk code example Example: red asterix css <span style="color:#ff0000">*</span>