title: How to create a download button in html5
body: <p>i have a html file a html file and a css file for my web page i need a download button on my site that downloads a specific file from some server i have created that download button usins the code :-</p>
  
  <pre><code>  &lt;div class="formbutton"&gt;
      &lt;form action ="C:\somePath\abc.xls" method="get"&gt;
  
              &lt;button type="submit"&gt;Download Excel&lt;/button&gt;
  
       &lt;/form&gt;  
     &lt;/div&gt;
  </code></pre>
  
  <p>but this is not working on clicking the download button its telling :</p>
  
  <pre><code>   Not allowed to load local resource: file:///C:/somePath/abc.xls? 
  </code></pre>
  
  <p>i don't understand why because when i try the same code using some natepad file then opening it with browser it works .</p>
  
  <p>please help me out with this issue</p>