Force Download of DOCX file

It is very common to have a form on your website that you want users to download. We often convert them to .PDF files or we have event zipped them to force the browser to download the file. We recently discovered a much simpler way by just adding “download” to the <a> tag. We learned this from the follow page at W3Schools.

https://www.w3schools.com/tags/att_a_download.asp

Let us know if this helped you….

Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »