Make a dropdown list with red type and yellow background.

<select style="color: red; background-color: yellow">
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
  <option value="4">4</option>
</select>

PW

Related HTML and CSS Mentoring answers

All answers ▸

Simplify the brackets, (x+1)(x+2)


How would I link a CSS stylesheet to my HTML page?


Show how you would give all elements that have a class of 'class1', a green background.


How do I get better at Maths?