What Should Be Avoided
HTML/CSS
<form> <p>Required fields are labeled with red text.</p> <label for="name" style="color: red;">Name</label> <input type="text" id="name" name="name"> <label for="email" style="color: green;">Email</label> <input type="email" id="email" name="email"> </form>
Explanation:Users who cannot perceive the red color will not be able to identify the required fields.