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 would you structure a table in HTML?


Describe the advantages and disadvantages of the three main ways of adding CSS to a website


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


How to create a secure password?