html mandatory field asterisk code example
Example 1: html5 astrix for absolutely required field inside a td tag
<label class="required">Name:</label>
<input type="text">
<style>
.required:after {
content:" *";
color: red;
}
</style>
Example 2: red asterix css
<span style="color:#ff0000">*</span>