1.2 Create a web page with an appropriate image towards the left hand side of the page, when
user clicks on the image another web page should open.
code:
for hyperlink:
<!DOCTYPE html>
<html>
<head>
<title>image</title>
</head>
<body>
<p>
<a
href="file:///C:/Users/Student.CCAD-16/Desktop/welcome.html">
<img src="C:\Users\Student.CCAD-16\Desktop\img.jpg "
alt="file:///C:/Users/Student.CCAD-16/Desktop/welcome.html" width="250"
height="200">
</a>
</p>
</body>
</html>
For webpage:
<!DOCTYPE html>
<html>
<head>
<title>image</title>
</head>
<body bgcolor="skyblue" >
<p>
<br>
<br>
<br>
<br>
<br>
<h1 align="center">Welcome to my webpage!</h1>
</p>
</body>
user clicks on the image another web page should open.
code:
for hyperlink:
<!DOCTYPE html>
<html>
<head>
<title>image</title>
</head>
<body>
<p>
<a
href="file:///C:/Users/Student.CCAD-16/Desktop/welcome.html">
<img src="C:\Users\Student.CCAD-16\Desktop\img.jpg "
alt="file:///C:/Users/Student.CCAD-16/Desktop/welcome.html" width="250"
height="200">
</a>
</p>
</body>
</html>
For webpage:
<!DOCTYPE html>
<html>
<head>
<title>image</title>
</head>
<body bgcolor="skyblue" >
<p>
<br>
<br>
<br>
<br>
<br>
<h1 align="center">Welcome to my webpage!</h1>
</p>
</body>