Download and Target Links
The download attribute saves a file instead of opening it. target="_blank" opens a new tab and rel="noopener" keeps the new page from controlling yours.
Example
<a href="data:text/plain,Hello" download="hello.txt">Download file</a><br>
<a href="https://example.com" target="_blank" rel="noopener noreferrer">Open in new tab</a>Exercise
Open in a new tab.
target=""
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.