Jump to content

Hyperlink File: Click to download

Recommended Posts

Hi, simple question: how to i force download a pdf file that is hyperlinked? I do not want to open it in a new tab. If anyone has thoughts on this please let me know! Code I tried: 

<p><a href= "/s/filename" download>Download File Here</a></p>

Link to comment
  • Replies 2
  • Created
  • Last Reply
  • 6 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.