¿How can I download an image? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

¿How can I download an image?

I have trouble to download images, I'm trying this tag: <a href="image.jpg" download>Descarga Aquí</a>

2nd Nov 2018, 12:49 PM
David Mambrú De León
David Mambrú De León - avatar
3 ответов
+ 4
Hey, please see the following as i think your missing the address/link to the image 👍 The HREF is an attribute of the anchor tag, which is also used to identify sections within a document. The HREF contains two components: the URL, which is the actual link, and the clickable text that appears on the page, called the "anchor text".
2nd Nov 2018, 1:15 PM
D_Stark
D_Stark - avatar
+ 2
Its hard help you without more info... Where you run it? Which path have the image?
2nd Nov 2018, 1:14 PM
KrOW
KrOW - avatar
+ 1
I'm running on Google Chrone and using Visual Studio Code, the image is into a named folder prueba wherein two file: 1) index.html and 2) img.jpg
2nd Nov 2018, 4:50 PM
David Mambrú De León
David Mambrú De León - avatar