Different code snippets for anchor tag. <!--- normal a tag --> <a href="http://www.w3schools.com">Visit W3Schools.com!</a> <!--- normal a tag open in new window --> <a href="http://www.w3schools.com" target="_blank">Visit W3Schools.com!</a> <!--- a tag in image tag with download attribute --> <a href="resource/placeholder.jpg" download> <img border="0" src="resource/placeholder.jpg" alt="placeholder" width="300" height="225"> </a> Html , Web Development << Back Next >>