× Introduction HTML Editors Web Components Headings Paragraph Attributes Entities Images Comments Formatting Links File Paths Book Marks Image Links Unordered Lists Ordered Lists Tables Forms Other Form Elements Semantic tags Media Div and Span Examples Projects eBooks









HTML Image Links

In this tutorial you will learn how to create image linksand downloadble links.

HTML Image Links:

Placing image between the opening tag and the closing tag becomes image link that the user sees and clicks in a browser. Like this we can use any HTML element to create a link.

Example:   Try It

<a href="aboutus.php" target="_blank"><img src="images/aboutus.jpg"></a>
<a href="aboutus.php" target="_blank"><h1>Heading Link</h1></a>

Result:

Image Link:

Heading Link:

Heading Link