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
Answered by Piotr W. HTML and CSS tutor

2117 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

How to go about designing a responsive HTML 5 website


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


What's the difference between por and para in Spanish?


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


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning