In HTML5, in most browsers you can add a ‘download’ attribute to the a
element.
for example:
<a href="http://www.example.com/index.html" download>Download</a>
Based on this question. How can I create download link in html?
More Related Contents:
- How can I select the last element with a specific class, not last child inside of parent?
- Compiling dynamic HTML strings from database
- Responsively change div size keeping aspect ratio [duplicate]
- How to change the button text of ?
- Using Position Relative/Absolute within a TD?
- Why media queries has less priority than no media queries css
- Flexbox fill available space vertically
- Best approach to real time http streaming to HTML5 video client [closed]
- What are the integrity and crossorigin attributes?
- Should PUT and DELETE be used in forms?
- Localization of input type number
- Easier way to create circle div than using an image?
- Customizing Increment Arrows on Input of Type Number Using CSS
- Remove outline from select box in FF
- Playing m3u8 Files with HTML Video Tag
- HTML TAG and local folder path with Internet Explorer
- How to make images stay within the rows of a css grid container?
- Anchor tags not working in chrome when using #
- What’s a valid HTML5 document?
- CSS – Sticky footer [duplicate]
- HTML5 localStorage size limit for subdomains
- How to save user-entered line breaks from a TextArea to a database?
- How to Make A Chevron Arrow Using CSS?
- Change the column order in a css grid
- HTML5 placeholder disappears on focus
- Link to reload current page
- :before && :after pseudo elements not showing Firefox
- @font-face not working with specific version of Internet Explorer 11
- How to remove x and y on submit in HTML form with Image type button?
- Why use HTML5 tags? [duplicate]