title: how to set the image position with JSX/HTML5?
body: <p>this is a very easy question, but I can not decide what is the cleanest nor actually to get it to work. I have this JSX-part in a reactJS class, and would like to set position dynamically through a prop-value. Which tag attribute should I add to the following code snippet? I have seen examples with style and tried setting left and right etc without any success.   </p>
  
  <p>Any help is appreciated.</p>
  
  <pre><code>&lt;img onClick={this.handleKeyPress} src="/image/1" alt="HTML5" width="200" height="200" /&gt;
  </code></pre>