HTML File Download Attribute

You can make the file downloadable by adding download feature to html links You can start the process with the download command you will give to the a tag.

Simply

 <a href="img/dosya.jpg" download> 

 

To determine the registration name of the downloaded file, it is sufficient to add = "name" to the download feature.

 <a href="img/dosya.pdf" download="Dosya Adını Yaz"> 
 <a href="img/resim.jpg" download="Resim Adı"> 

This attribute is used only if the href attribute is set.

 

If the value is omitted, the original filename is used.

E.Albayrak

0 Yorum

Soru & Yorum


Web Tasarım

Renkli Kare

Web Tasarım Ajansı