title: html select list - display seleted value when size is 10
body: <p>I have a html select list that I am using to display many options.</p>
  
  <p>I have the size of the select to <code>10</code> and I am using <code>autofocus</code>.</p>
  
  <p><strong>How do I dcisplay the select list so that the selected option is displayed when the page loads, even if the selected option is not in the 1st 10 options</strong>, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/mmxNH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mmxNH.png" alt="enter image description here"></a></p>
  
  <p>Currently, when the page loads, the select list is displayed as follows (option 19 is selected, but not displayed):</p>
  
  <p><a href="https://i.stack.imgur.com/9pxO3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9pxO3.png" alt="enter image description here"></a></p>
  
  <p>Here is my select list code:</p>
  
  <pre><code>&lt;select id="id_preview_style_select" name="preview_style" title="Preview Style" size="10" autofocus&gt;
      ....
      ....
  &lt;/select&gt;
  </code></pre>