title: How to write a select field using the function React.createElement() in react
body: <p>i have this code  written in html</p>
  
  <pre><code>&lt;select id ='Font_Size' onchange="ChangeFont()"&gt;
              &lt;option&gt;Font Size &lt;/option&gt;
              &lt;option id ='sizeUp'&gt;Large &lt;/option&gt;
              &lt;option id ='normal'&gt;Normal&lt;/option&gt;
              &lt;option id ='sizeDown'&gt;Small&lt;/option&gt;
  &lt;/select&gt;
  
  React.createElement('input',{type:'select',onChange:this.ChangeFont},React.createElement("input",{type:"Option"})) 
  </code></pre>
  
  <p>but i would like to create a react element that will create a selection field using  the function React.createElement() and display it as the above code would. the code at the bottom is what i had tried but it does not work </p>