Code source pour créer un bouton donwload
matlamis
-
nEm3sis Messages postés 722 Statut Membre -
nEm3sis Messages postés 722 Statut Membre -
Bonjour,
je cherche le code source html pour creer un bouton download.
si possible avec explication
merci
je cherche le code source html pour creer un bouton download.
si possible avec explication
merci
Configuration: Windows Vista Internet Explorer 7.0
2 réponses
-
Bonjour,
Tu as juste à mettre le lien de ton fichier dans ton <a href="">,c'est pas plus compliqué que ça. -
et si tu veux un bouton a la place du lien suffit de mettre
<input type="button" onclick="location.href = 'ADRESSE_DU_DOWNLOAD' " value="Cliquez ici pour commencer le download"/>
ou alors
<form action="ADRESSE_DU_DOWNLOAD"> <input type="submit" value="Cliquez ici pour commencer le download"/> </form>