title: Alter HTML real-time with input tag
body: <p>How can I can I alter (change, add, whatever) HTML/text real-time using the <code>input</code> tag? Very similar to the preview interface when asking a question on Stack Overflow minus the code encoding. It just has to be simple.</p>
  
  <p>For example,</p>
  
  <pre><code>&lt;input type="text" name="whatever" /&gt;
  &lt;div id="example"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Whatever text is entered in the above <code>input</code> tag is added to <code>#example</code> in real-time.
  Something involving <code>innerHTML</code> and JavaScript perhaps?</p>