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 ▸

How can we integrate animation to websites?


What is the difference between HTML and CSS?


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


How to create a secure password?