title: add horizontal rule at the end of a and div #ID
body: <p>I'm trying to add a horizontal rule as the last item in a div container. I tried </p>
  
  <pre><code>&lt;script&gt;
  var rule = '&lt;hr /&gt;';
  $('#content-nav').append(rule);
  &lt;/script&gt;
  </code></pre>
  
  <p>I added this code into the header.php section of my website which is added onto multiple php files using php include. But jQuery files are also added and work fine for other jQuery plugins that have been implemented. </p>
  
  <p>I'm never sure where in my html js is supposed to go. Am I putting this in the wrong place? Or is there something wrong with the code?</p>