1<!DOCTYPE html>
2<html>
3 <head>
4 <title>Title of the document</title>
5 </head>
6 <body>
7 <form>
8 <input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
9 </form>
10 </body>
11</html>
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>HTML Image as link</title>
5 </head>
6 <body>
7 The following image works as a link:<br>
8 <a href="https://www.qries.com/">
9 <img alt="Qries" src="https://www.qries.com/images/banner_logo.png"
10 width=150" height="70">
11 </a>
12 </body>
13</html>