-
Notifications
You must be signed in to change notification settings - Fork 0
/
tut6.html
23 lines (21 loc) · 968 Bytes
/
tut6.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Links and Images</title>
</head>
<body>
<!-- Using "a href" tag you can add a link and go to the website in one click -->
<!-- For Example click on go to google and you can see google web site -->
<!-- Using taget attribute you can open a website in new tab -->
<a href="https://google.com" target = "_blank">go to google</a><br>
<a href="https://facebook.com" target = "_blank">go to facebook</a><br>
<a href="https://twitter.com" target = "_blank">go to twitter</a><br>
<!-- Also you can access the file using "/filename" this syntax.. -->
<a href="/basic.html" target = "_blank">go to basic</a><br>
<!-- If your image is not there in src than alt is shown -->
<img src="DSC_0007.JPG" alt="Error">
</body>
</html>