title: How to insert the same html element twice?
body: <p>Here's a part of my code</p>
  
  <pre><code>  elementol = document.createElement("ol");
    var longueur = titres.length;
    for ( k = 0; k &amp;lt; longueur ; ++k) {
      elementli = document.createElement("li");
      elementli.appendChild(
        document.createTextNode(
          titres[k].firstChild.nodeValue
        )
      );
      elementol.appendChild(elementli);
    }
    body = document.getElementsByTagName("body").item(0);
    body.appendChild(elementol);
  </code></pre>
  
  <p>The problem is If I try to find another Item and append, nothing work.
  For example if I double the lines at the end to give something like :</p>
  
  <pre><code>  body = document.getElementsByTagName("body").item(0);
    body.appendChild(elementol);
    body = document.getElementsByTagName("body").item(0);
    body.appendChild(elementol);
  </code></pre>
  
  <p>Only  the first append work, not the second , so I don't have my result twice. I'm new with this language, and found some code, but I don't know how to add multiple value.</p>
  
  <p>thanks</p>