How do I add an asterisk to mandatory fields in HTML?
Asterisk (*) next to a form control's label usually indicates it as "required". Oftentimes, this asterisk's purpose is then explained somewhere else on the page. Many users (especially screen reader users) may be confused with that, so be sure to make this information is easily accessible.
How do you make an asterisk red in CSS?
<style> label[id*='CustomID']::after content: "*"; color:red; </style> Thanks To all.