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 to create a secure password?


How do you link a CSS document to a HTML file?


What is the difference between classes and IDs?


What is the correct HTML to link a stylesheet?