title: How to create template or placeholder in html and add them dynamically to the body?
body: <p>I want to create a forum in html. As you have guessed I am new to web dev.</p>
  
  <p>Let's say there is a template for messages posted by the users:</p>
  
  <pre><code>&lt;div id="message"&gt;
      &lt;h3&gt;#name of the user&lt;/h3&gt;
      &lt;p&gt;#message&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I wish to populate this template with the user's name and the message and then dynamically add it to the main body when the user posts it.</p>
  
  <p>However as I told you I am very new to web development. I am not sure how to do this. All I need is your guideline and ideas. Maybe point me toward appropriate tutorial and references.</p>