title: Will the pseudo class :checked will select inputs with type radio or checkbox, but not <option> elements?
body: <p>I came across this question in an assessment test. I know its correct for radio and checkbox. But not sure about . If it doesn't work for  then what can be done to add CSS to a selected drop-down option.
  I tried this, but it doesn't work as well.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  &lt;style&gt;
  select { color: red; }
  option:not(:checked) { color: black; } 
  &lt;/style&gt;
  &lt;select&gt;
    &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
    &lt;option value="saab"&gt;Saab&lt;/option&gt;
    &lt;option value="vw"&gt;VW&lt;/option&gt;
    &lt;option value="audi"&gt;Audi&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>