how to link a image in html
<html>
<head>
</head>
<body>
<img alt="image" src="image.png" onclick="imageClicked()">
<script>
function imageClicked() {
window.open("https://www.google.com");
}
</script>
</body>
</html>