-
Notifications
You must be signed in to change notification settings - Fork 35
/
anchor.html
140 lines (109 loc) · 3.36 KB
/
anchor.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<head>
<title>Anchor Tag</title>
</head>
<body>
<!-- <a href="http://twitter.com" target="" title="">Twitter</a>
<a href="http://linkedin.com">Linkedin</a>
<a href="blockInline.html">Block & Inline Elements</a>
<a href="https://twitter.com">
<img
src="slider1.jpg"
alt="Image of Geekster Students"
width="400"
height="200"
/>
</a> -->
<!-- You can put a block or an inline element inside a block element.
But only an inline element can reside inside an inline element -->
<!-- <p><a href="">Inline inside block</a></p> -->
<!-- <a href=""><p>Block inside inline, not allowed</p></a> -->
<!-- THIS IS WRONG -->
<!-- <a href="">
<div>
<h3></h3>
<p></p>
<ul></ul>
</div>
</a> -->
<!-- <p>
Hello everyone, my name is
<a href="https://github.com/abhinandan">Abhinandan</a>
</p> -->
<!-- <a href="https://twitter.com">Twitter</a>
<a href="https://facebook.com" target="_blank">Facebook</a>
<a href="https://instagram.com">Instagram</a> -->
<!-- //Relative & Absolute Paths -->
<!-- Absolute Path: which starts at the root folder, i.e. at the very beginning.
Relative Path: which start in your PWD -->
<!-- RELATIVE PATH -->
<!-- <img src="slider1.jpg" width="400" alt=""> -->
<!-- ABSOLUTE PATH -->
<!-- <img src="C:\xampp\htdocs\rohit\geekster\slider1.jpg" width="400" alt="Some image here"> -->
<!-- <img src="abu/images/slider4.jpg" alt="" width="400"> -->
<h2>Dwayne Johnson</h2>
<p>Popularly named <i><b>"The Rock"</b></i></p>
<img src="../abhinav/dwayne johnson.jpg" alt="The Rock" width="200" />
<p><em><strong>Jumanji</strong></em></p>
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quod ex
assumenda consectetur iusto quibusdam nobis beatae minima dolore omnis
sunt dicta officia, nihil illum totam! Sunt modi voluptatum tenetur natus.
</p>
<!-- <p>Paragraph 1</p>
<p>Paragraph 2</p> -->
<!-- <p>
Rohit
Jain
</p> -->
<!-- <p>Line Breaks
</p> -->
<!-- <p>Rohit Jain</p>
<pre>
Rohit
Jain</pre> -->
<!-- Non Breaking Space -->
<!-- <p>Rohit Jain</p> -->
<!-- <p> Rohit Jain</p> -->
<!-- <p>This is first section</p>
<hr>
<p>This is second section</p> -->
<!-- NESTING OF ELEMENTS -->
<style>
a{
margin:6px;
display: inline-block;
}
</style>
<ul>
<li>
<a href="">Canada Immigration</a>
<ul>
<li><a href="">Canada Express Entry</a></li>
<li>
<a href="">Canada Super Visa</a>
<ul>
<li><a href="">Something</a></li>
<li><a href="">Another Something</a></li>
</ul>
</li>
</ul>
</li>
<li>
<a href="">Canada PNP</a>
<ul>
<li><a href="">Canada Express Entry</a></li>
<li><a href="">Canada Super Visa</a></li>
</ul>
</li>
<li>
<a href="">Australia Immigration</a>
<ul>
<li><a href="">Canada Express Entry</a></li>
<li><a href="">Canada Super Visa</a></li>
</ul>
</li>
</ul>
</body>
</html>