Home > Article > Web Front-end > How to write link download code on a web page_html/css_WEB-ITnose
There is a file in my ftp server. I want to click the link on the webpage, and the download dialog box will pop up.
My link is written as Sometimes a link pops up and I can download it, but sometimes the pop-up dialog box is really garbled
How to solve this, how to write download
Then you must set the encoding format of the web page
Then you must set the encoding format of the web page
How to set it up
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">