![]() If the value is omitted, the original filename is used. However, the user will still be able to change the name when the native download window appears, but the name we provided will be the default. Therefore if we want to download the file with a specific name, we can control this using this attribute. ![]() The first and the simplest method implies creating an anchor HTML element that has the download attribute.īy definition, the download attribute specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.Īlso with this download attribute we can specify the new name of the file after it is downloaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |