css replace before content with asterisk code example
Example: 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>