-
Notifications
You must be signed in to change notification settings - Fork 0
/
10_HTML_Links.html
43 lines (35 loc) · 972 Bytes
/
10_HTML_Links.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Anchor Tag</title>
<style>
body{
font-family: Arial,sans-serif;
}
</style>
</head>
<body>
<h1 id="home">Home Page</h1>
<!-- Simple Links -->
<p>Simple Links</p>
<a href="https://www.google.co.in/">Google</a>
<!-- Local Links -->
<p>Local Links</p>
<a href="09_HTML_Tables.html">Tables Page</a>
<!-- External Links -->
<p>External Link</p>
<a href="https://www.facebook.com/">Facebook</a>
<!-- Links with target -->
<p>Links with target</p>
<a href="https://www.amazon.in/" target="_blank">Amazon</a>
<!-- Images as Links -->
<p>Images as Links</p>
<a href="https://www.youtube.com/" target="_blank">
<img src="img/youtube.jpg" width="200" height="100">
</a>
<!-- Bookmarks with Ids -->
<p>Bookmarks with Ids</p>
<a href="#home">Goto Home</a>
</body>
</html>