title: Downloading the content of a <div> as a separate HTML file
body: <p>I'm currently building a drag and drop template builder, allowing the user to select pre-populated content and order this inside a  within the browser window. I would then like the user to be able the newly populated  as a seperate HTML/Zip file.</p>
  
  <p>It's similar to the functionality used in the MailChimp template builder.</p>
  
  <p>However, I'm pushing the boundaries of my skillset and am looking for help in getting the content of the new populated  available to be downloaded by the user. I'm here to learn so any advice would be more than appreciated.</p>
  
  <p>Does anybody have any ideas?</p>
  
  <p>Thanks!</p>