Browser will prompt for downloading any link pointing to a document type (mime-type) that the browser does not know how to handle, or believes downloading the file is the best way to handle it (usually compressed files). Within HTML you cannot force visitor's browser to download something that their browser wants to display within the browser. The only way to do that is to serve the mime-type as something that will confuse the browser, making it think it is not the file it actually is. But that falls out of the scope of this forum. To simply link to a file that will be downloaded, use:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.