About 5,990,000 results
Open links in new tab
  1. How can I create download link in HTML? - Stack Overflow

    May 8, 2010 · I have a basic idea of HTML. I want to create the download link in my sample website, but I don't have idea of how to create it. How do I make a link to download a file rather than visit it?

  2. How to trigger a file download when clicking an HTML button or ...

    How to trigger a file download when clicking an HTML button or JavaScript Asked 13 years, 4 months ago Modified 4 months ago Viewed 1.9m times

  3. How can I make a url a download link in html? - Stack Overflow

    Oct 4, 2013 · Learn how to create a download link in HTML with examples and best practices.

  4. html - How to create downloadable link to text file? - Stack Overflow

    Feb 9, 2012 · The purpose is to download the dumped backup.sql file after running the sql dumping script (from PHP). Normally, the dumped .sql file is outputted (written) on the server. Then when i …

  5. html - href image link download on click - Stack Overflow

    Mar 9, 2010 · 68 The easiest way of creating download link for image or html is setting download attribute, but this solution works in modern browsers only.

  6. How to make PDF file downloadable in HTML link? - Stack Overflow

    Dec 13, 2008 · I am giving link of a pdf file on my web page for download, like below

  7. How can I download a PDF file instead of opening them in browser …

    I was wondering how to make a PDF file link downloadable instead of opening them in the browser? How is this done in html? (I'd assume it's done via JavaScript or something).

  8. html - Force external download url - Stack Overflow

    Apr 12, 2013 · 16 I want to host on my webpage an external url containing a mp3 file. The problem is that clicking on that link will open the player, i have to right click and "Save link as" in order to …

  9. html - How can I set the file name for a download link? - Stack Overflow

    Oct 7, 2020 · Learn how to set a file name for a download link in HTML using various methods and best practices.

  10. javascript - Download data URL file - Stack Overflow

    Oct 12, 2010 · function downloadDataUrlFromJavascript(filename, dataUrl) { // Construct the 'a' element var link = document.createElement("a"); link.download = filename; link.target = "_blank"; // Construct …