title: Anchor tag with download attribute opens file instead of downloading
body: <p>In my Reactjs application I used the anchor tag to download a txt file like below.</p>
  
  <pre><code>&lt;a href="http://textfiles.com/......./sample.txt" download&gt;download&lt;/a&gt;
  </code></pre>
  
  <p>There I added <strong>download</strong> attribute to force it to download instead open it in the browser tab.</p>
  
  <p>But it is still opening in the same tab instead of downloading. Can any one help me to solve this problem.</p>