title: How to Export HTML DIV contents to powerpoint slide in ASP.Net C#
body: <p>I am trying to export all the contents of  div tag into ppt file. I am able to do it for doc and excel because there is an open xml format for word and excel. i do the following things for ppt but didn't get the right result.
  here is my html code</p>
  
  <pre><code>&lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div id="demo" runat=server&gt;
          &lt;h1&gt;Click the button to Export&lt;/h1&gt;
          &lt;h3&gt;This page contain a heading,paragraph and a table&lt;/h3&gt;
  
      &lt;/div&gt;
      &lt;asp:Button ID="export" OnClick="Export_to_ppt" Text="Export" runat="server" /&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>here is cs code</p>
  
  <pre><code> string elements = demo.InnerHtml;
   Response.ContentType = "application/vnd.ms-powerpoint";
   Response.AddHeader("content-disposition", "attachment; filename=sample.ppt");  
   Response.Write(elements);
   Response.End();
  </code></pre>
  
  <p>In my result, each content show but the html tags also showed. But i just want to see this as it viewed in html page. Each content also printed in different slide but i want see those in one slide.</p>
  
  <p>please help me with this.</p>