What Should Be Avoided
HTML/CSS
<style> input { border: 1px solid #ccc; } form { background-color: #fff; /* Define the background color of the form */ } </style> <form> <label for="name">Name:</label> <input type="text" id="name" name="name"> </form>
Explanation:The current implementation is a failure as the border color : #ccc does not contrast with the adjacent background color of the form: #fff, constituting a ratio which is less than 3:1.