Home
HTML
HTML Images
Tryit: HTML image as a link
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h2>Image as a Link</h2> <p>The image is a link. You can click on it.</p> <a href="default.asp"> <img src="smiley.gif" alt="HTML tutorial" style="width:42px;height:42px;"> </a> </body> </html>